mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 11:42:15 +01:00
refactor timeentries queries and mutations, improve activitygraph, add dashboard reporting table
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import { useCurrentTimeEntryStore } from '@/utils/useCurrentTimeEntry';
|
||||
import { useTimeEntriesStore } from '@/utils/useTimeEntries';
|
||||
|
||||
export function initializeStores() {
|
||||
// TanStack Query now handles projects, tasks, tags, clients, and members fetching automatically
|
||||
// Only initialize stores that aren't migrated to TanStack Query yet
|
||||
useCurrentTimeEntryStore().fetchCurrentTimeEntry();
|
||||
useTimeEntriesStore().patchTimeEntries();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user