Use DotAI over local storage

This commit is contained in:
Chad Curtis committed 2025-09-06 02:46:37 +00:00
1 parent 0e1ccfe469
commit ba273282db
5 files changed
+77 -47

No files matched your search

+2 -2
View File
@@ -18,8 +18,8 @@ export function useProjectSessionCleanup(projectId: string) {
}, [projectId, sessionManager]);
// Return a cleanup function that can be called when a project is deleted
const cleanupProjectSessions = () => {
sessionManager.deleteProjectSessions(projectId);
const cleanupProjectSessions = async () => {
await sessionManager.deleteProjectSessions(projectId);
};
return { cleanupProjectSessions };