Skip to content

TagSpaces is an offline, open source, document manager with tagging support

cleaning up

Ilian Sapundshievcbe224021ee6
diff --git a/app/reducers/app.js b/app/reducers/app.js
index 6e35515b4..369c79732 100644
--- a/app/reducers/app.js
+++ b/app/reducers/app.js
@@ -1271,7 +1271,7 @@ export const getDirectoryContent = (state: Object) =>
state.app.currentDirectoryEntries;
export const getDirectoryPath = (state: Object) =>
state.app.currentDirectoryPath;
-export const getPathCurrentLocation = (state: Object) => {
+/* export const getPathCurrentLocation = (state: Object) => {
let pathCurrentLocation;
state.locations.map((location) => {
if (state.app.currentLocationId && location.uuid === state.app.currentLocationId) {
@@ -1280,7 +1280,7 @@ export const getPathCurrentLocation = (state: Object) => {
return true;
});
return pathCurrentLocation;
-};
+}; */
export const isUpdateAvailable = (state: Object) => state.app.isUpdateAvailable;
export const isUpdateInProgress = (state: Object) =>
state.app.isUpdateInProgress;