mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
local storage fix
This commit is contained in:
1 parent
ba273282db
commit
c8e78f8a19
3 files changed
+113
-240
No files matched your search
@@ -19,7 +19,7 @@ import { useKeepAlive } from '@/hooks/useKeepAlive';
|
||||
import { GitStatusIndicator } from '@/components/GitStatusIndicator';
|
||||
import { StarButton } from '@/components/StarButton';
|
||||
|
||||
import { useProjectSessionCleanup } from '@/hooks/useProjectSessionCleanup';
|
||||
|
||||
import { generateSecretKey, getPublicKey, nip19 } from 'nostr-tools';
|
||||
import { bytesToHex } from 'nostr-tools/utils';
|
||||
import { buildProject } from "@/lib/build";
|
||||
@@ -63,7 +63,7 @@ export function ProjectView() {
|
||||
]
|
||||
});
|
||||
|
||||
const { cleanupProjectSessions } = useProjectSessionCleanup(project?.id || '');
|
||||
|
||||
|
||||
const loadProject = useCallback(async () => {
|
||||
if (!projectId) return;
|
||||
@@ -194,9 +194,6 @@ BASE_DOMAIN=nostrdeploy.com`);
|
||||
};
|
||||
|
||||
const handleProjectDeleted = async () => {
|
||||
if (project) {
|
||||
await cleanupProjectSessions();
|
||||
}
|
||||
setProject(null);
|
||||
navigate('/');
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user