Fixing Copilot suggestion

This commit is contained in:
Emile Bangma authored and GitHub committed 2025-06-19 22:55:30 +02:00
1 parent 50b6c217c6
commit 6b05c6ba64
1 file changed
+1 -1
+1 -1
View File
@@ -163,7 +163,7 @@ async function setupExplorer(currentSlug: FullSlug) {
}
// Get folder state from local storage
const storageTree = localStorage.getItem("fileTree")
const storageTree = sessionStorage.getItem("fileTree")
const serializedExplorerState = storageTree && opts.useSavedState ? JSON.parse(storageTree) : []
const oldIndex = new Map<string, boolean>(
serializedExplorerState.map((entry: FolderState) => [entry.path, entry.collapsed]),