Skip to content

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

TSN305 adding hooks to DirectoryMeny.js

Mladen Sapundshieve627c7816e3f
diff --git a/app/components/menus/DirectoryMenu.js b/app/components/menus/DirectoryMenu.js
index 6cc678180..3a83fc3aa 100644
--- a/app/components/menus/DirectoryMenu.js
+++ b/app/components/menus/DirectoryMenu.js
@@ -48,6 +48,7 @@ import { actions as AppActions } from '../../reducers/app';
import IOActions from '../../reducers/io-actions';
type Props = {
+ classes: Object,
open?: boolean,
onClose: () => void,
anchorEl?: Object | null,
@@ -72,7 +73,7 @@ type Props = {
};
const DirectoryMenu = (props: Props) => {
- fileInput: Object | null;
+ let fileInput; // Object | null;
const [isCreateDirectoryDialogOpened, setIsCreateDirectoryDialogOpened] = useState(false);
const [isDeleteDirectoryDialogOpened, setIsDeleteDirectoryDialogOpened] = useState(false);