working epics ioc and tested
This commit is contained in:
@@ -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 ─────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user