fix: repair broken import blocks in sync.js and legacy.js
This commit is contained in:
parent
643a73e0f5
commit
deadf1e1ea
@ -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 {
|
||||
|
||||
@ -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';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user