fix: repair broken import blocks in sync.js and legacy.js
All checks were successful
CI / lint (push) Successful in 12s
CI / security (push) Successful in 13s
CI / test (push) Successful in 19s
CI / build (push) Successful in 3s

This commit is contained in:
Bruno Charest 2026-05-28 16:41:15 -04:00
parent 643a73e0f5
commit deadf1e1ea
2 changed files with 2 additions and 23 deletions

View File

@ -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 {

View File

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