From deadf1e1ea6f30ae20b227dd8717754808818b1c Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 28 May 2026 16:41:15 -0400 Subject: [PATCH] fix: repair broken import blocks in sync.js and legacy.js --- frontend/js/legacy.js | 18 +----------------- frontend/js/sync.js | 7 +------ 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/frontend/js/legacy.js b/frontend/js/legacy.js index 18f7611..b822bb4 100644 --- a/frontend/js/legacy.js +++ b/frontend/js/legacy.js @@ -3,23 +3,7 @@ Functions already in other modules are re-exported. */ // --- State imports --- -import { - state.currentVault, - state.currentPath, - state.showingSource, - state.cachedRawSource, - state.searchTimeout, - state.searchCaseSensitive, - state.searchWholeWord, - state.searchRegex, - state.searchFilterVisible, - state.advancedSearchOffset, - state.selectedTags, - state.selectedContextVault, - state.vaultSettings, - state.allVaults, - state.MIN_SEARCH_LENGTH, -} from './state.js'; +import { state } from './state.js'; // --- Search imports --- import { diff --git a/frontend/js/sync.js b/frontend/js/sync.js index 67c9c82..fb21f58 100644 --- a/frontend/js/sync.js +++ b/frontend/js/sync.js @@ -1,10 +1,5 @@ 1|/* ObsiGate — Sync: SSE client + PWA registration */ -import { - state.currentVault, - state.currentPath, - state.activeSidebarTab, - selectedContextVault -} from './state.js'; +import { state } from './state.js'; import { showToast } from './ui.js'; import { loadVaults, loadTags, refreshTagsForContext } from './sidebar.js';