MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / confirmDeleteSession

Function confirmDeleteSession

ai-code-studio/src/App.tsx:358–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

356 }
357
358 async function confirmDeleteSession() {
359 if (!deleteConfirm) return;
360 try {
361 await api('/api/sessions/delete', {
362 method: 'POST',
363 body: { sessionId: deleteConfirm.sessionId },
364 });
365 } catch (error) {
366 setErrorMessage(error instanceof Error ? error.message : String(error));
367 }
368 setDeleteConfirm(null);
369 }
370
371 async function handleExportDiagnostics() {
372 try {

Callers 1

AppFunction · 0.85

Calls 1

apiFunction · 0.90

Tested by

no test coverage detected