mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Use DotAI over local storage
This commit is contained in:
1 parent
0e1ccfe469
commit
ba273282db
5 files changed
+77
-47
No files matched your search
@@ -22,7 +22,10 @@ export function SessionManagerProvider({ children }: SessionManagerProviderProps
|
||||
// Cleanup on unmount
|
||||
useEffect(() => {
|
||||
return () => {
|
||||
sessionManager.cleanup();
|
||||
// Fire and forget cleanup - we don't need to await in useEffect cleanup
|
||||
sessionManager.cleanup().catch(error => {
|
||||
console.warn('Failed to cleanup session manager:', error);
|
||||
});
|
||||
};
|
||||
}, [sessionManager]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user