Update dependencies in App.tsx

This commit is contained in:
2026-04-10 12:23:48 +02:00
parent faaa6775f2
commit 5b8842b199

View File

@@ -1828,7 +1828,20 @@ export function App({ store, initialStatusMessage }: AppProps) {
window.removeEventListener("pointermove", handleWindowPointerMove);
window.removeEventListener("keydown", handleWindowKeyDown);
};
}, [activePanelId, addMenuPosition, brushList.length, editorState.selection, editorState.toolMode, entityList.length, hoveredViewportPanelId, layoutMode, transformSession]);
}, [
activePanelId,
addMenuPosition,
brushList.length,
editorState.document,
editorState.selection,
editorState.toolMode,
entityList.length,
hoveredViewportPanelId,
layoutMode,
projectAssetStorage,
projectAssetStorageReady,
transformSession
]);
useEffect(() => {
if (layoutMode === "quad" || viewportQuadResizeMode === null) {