mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Rework useLocalStorage to use React Query, fix starring projects updates sidebar immediately
This commit is contained in:
6 files changed
+78
-44
No files matched your search
@@ -24,6 +24,5 @@ export function useProjects() {
|
||||
return b.lastModified.getTime() - a.lastModified.getTime();
|
||||
});
|
||||
},
|
||||
staleTime: 1000 * 60 * 5, // 5 minutes
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user