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';