Fix: Resolve syncAllData declaration conflict
The `syncAllData` function was declared in both `src/utils/sync/syncSettings.ts` and `src/utils/syncUtils.ts`, causing a conflict. This commit removes the duplicate declaration from `src/utils/sync/syncSettings.ts` to resolve the TypeScript error.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
import { isSyncEnabled, setSyncEnabled, getLastSyncTime, setLastSyncTime, syncAllData, initSyncSettings } from './sync/syncSettings';
|
||||
import { isSyncEnabled, setSyncEnabled, getLastSyncTime, setLastSyncTime, syncAllData as syncDataFromSettings, initSyncSettings } from './sync/syncSettings';
|
||||
import { uploadTransactions, downloadTransactions } from './sync/transactionSync';
|
||||
import { uploadBudgets, downloadBudgets } from './sync/budgetSync';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user