From b80eb8a452c04c58b660bc74095122354a699cd4 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Mon, 5 Jan 2026 14:19:59 -0300 Subject: [PATCH] fix: remove dead code Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- src/store/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/files.js b/src/store/files.js index e59d9eb10e..bd3ea921f9 100644 --- a/src/store/files.js +++ b/src/store/files.js @@ -347,7 +347,7 @@ export const useFilesStore = function(...args) { sidebarStore.hideSidebar() this.selectedNodeId = 0 } - del(this.nodeIdToFileId, file.nodeId) + del(this.files, file.nodeId) const index = this.ordered.indexOf(file.nodeId) if (index > -1) {