Rework useLocalStorage to use React Query, fix starring projects updates sidebar immediately

This commit is contained in:
Alex Gleason committed 2025-09-13 17:55:56 -05:00
1 parent b72baaeb48
commit ba62a139e2
6 files changed
+78 -44

No files matched your search

-1
View File
@@ -24,6 +24,5 @@ export function useProjects() {
return b.lastModified.getTime() - a.lastModified.getTime();
});
},
staleTime: 1000 * 60 * 5, // 5 minutes
});
}