MCPcopy Create free account
hub / github.com/aetherstate/GODMOD3.AI / confirmImport

Function confirmImport

SettingsModal.tsx:2314–2321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2312 }
2313
2314 const confirmImport = () => {
2315 if (!pendingImport) return
2316 store.restoreBackup(pendingImport)
2317 setImportStatus('success')
2318 setImportMessage(`Restored ${pendingImportSummary}.`)
2319 setPendingImport(null)
2320 setPendingImportSummary('')
2321 }
2322
2323 const cancelImport = () => {
2324 setPendingImport(null)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected