From 3a1b7f2fa86ad887cfb68f30cd0d82c17256dfed Mon Sep 17 00:00:00 2001 From: Christoph Ladurner Date: Thu, 10 Oct 2024 22:45:40 +0200 Subject: [PATCH] fix: Warning '_truncate' is defined but never used --- .../js/invenio_app_rdm/components/RecordsResultsListItem.js | 1 - .../user_dashboard/uploads_items/ComputerTabletUploadsItem.js | 1 - .../user_dashboard/uploads_items/MobileUploadsItem.js | 1 - 3 files changed, 3 deletions(-) diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordsResultsListItem.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordsResultsListItem.js index 708ff9029..c2dcf2692 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordsResultsListItem.js +++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/components/RecordsResultsListItem.js @@ -6,7 +6,6 @@ import { i18next } from "@translations/invenio_app_rdm/i18next"; import _get from "lodash/get"; -import _truncate from "lodash/truncate"; import React, { Component } from "react"; import Overridable from "react-overridable"; import { SearchItemCreators } from "../utils"; diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads_items/ComputerTabletUploadsItem.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads_items/ComputerTabletUploadsItem.js index 48eee929e..2e70f94c4 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads_items/ComputerTabletUploadsItem.js +++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads_items/ComputerTabletUploadsItem.js @@ -7,7 +7,6 @@ import { i18next } from "@translations/invenio_app_rdm/i18next"; import React from "react"; import PropTypes from "prop-types"; -import _truncate from "lodash/truncate"; import _get from "lodash/get"; import { Button, Icon, Item, Label } from "semantic-ui-react"; import { SearchItemCreators } from "../../utils"; diff --git a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads_items/MobileUploadsItem.js b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads_items/MobileUploadsItem.js index f44c47206..0b1b5d4c7 100644 --- a/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads_items/MobileUploadsItem.js +++ b/invenio_app_rdm/theme/assets/semantic-ui/js/invenio_app_rdm/user_dashboard/uploads_items/MobileUploadsItem.js @@ -7,7 +7,6 @@ import { i18next } from "@translations/invenio_app_rdm/i18next"; import React from "react"; import PropTypes from "prop-types"; -import _truncate from "lodash/truncate"; import _get from "lodash/get"; import { Dropdown, Icon, Item, Label } from "semantic-ui-react"; import { SearchItemCreators } from "../../utils";