working epics ioc and tested

This commit is contained in:
Martino Ferrari
2026-05-04 21:13:36 +02:00
parent 90669c5fd6
commit 0a5a85e4c4
25 changed files with 1550 additions and 136 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import HelpModal from './HelpModal';
interface Props {
initial: Interface | null;
onDone: () => void;
onDone: (iface: Interface) => void;
}
function blankInterface(): Interface {
@@ -229,7 +229,7 @@ export default function EditMode({ initial, onDone }: Props) {
function handleLeave() {
if (dirty && !confirm('You have unsaved changes. Leave without saving?')) return;
onDone();
onDone(iface);
}
// ── Keyboard shortcuts ─────────────────────────────────────────────────────