()
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected