From 9e0e201808c08d2a9470a3f4f25904e91bba1824 Mon Sep 17 00:00:00 2001 From: Justinas <156369263+justinnas@users.noreply.github.com> Date: Tue, 10 Sep 2024 02:20:24 +0300 Subject: [PATCH] Minor fix --- .../fileTreeView/fileTreeItem/fileTreeItemContextMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/front-end/src/features/editor/components/fileTreeView/fileTreeItem/fileTreeItemContextMenu.tsx b/app/front-end/src/features/editor/components/fileTreeView/fileTreeItem/fileTreeItemContextMenu.tsx index 024f796..2b7518c 100644 --- a/app/front-end/src/features/editor/components/fileTreeView/fileTreeItem/fileTreeItemContextMenu.tsx +++ b/app/front-end/src/features/editor/components/fileTreeView/fileTreeItem/fileTreeItemContextMenu.tsx @@ -179,7 +179,7 @@ export const FileTreeItemContextMenu: React.FC = ( } catch (error) { console.error('Error exporting file:', error); } - }, [item.id]); + }, [item]); return ( <>