TagSpaces is an offline, open source, document manager with tagging support
fix: cleaning unused code
Ilian Sapundshievf6538d4ceccb
diff --git a/src/renderer/hooks/DirectoryContentContextProvider.tsx b/src/renderer/hooks/DirectoryContentContextProvider.tsxindex 8e7f41806..2fe877369 100644--- a/src/renderer/hooks/DirectoryContentContextProvider.tsx+++ b/src/renderer/hooks/DirectoryContentContextProvider.tsx@@ -44,6 +44,10 @@ import {import { TS } from '-/tagspaces.namespace';import { CommonLocation } from '-/utils/CommonLocation';import { arrayBufferToDataURL, updateHistory } from '-/utils/dom';+import {+ makeCancelable,+ useCancelablePerLocation,+} from '-/utils/useCancelablePerLocation';import useFirstRender from '-/utils/useFirstRender';import {cleanFrontDirSeparator,@@ -66,14 +70,6 @@ import React, {} from 'react';import { useTranslation } from 'react-i18next';import { useDispatch, useSelector } from 'react-redux';-import {- useCancelablePerLocation,- makeCancelable,-} from '-/utils/useCancelablePerLocation';-import {- galleryDefaultSettings,- mapiqueDefaultSettings,-} from '../../../tagspacespro/modules/perspectives';type DirectoryContentContextData = {currentLocationPath: string;