refactor: allow user to review import map

This commit is contained in:
Carlos Valente
2025-11-02 10:59:08 +01:00
committed by Carlos Valente
parent becd734ea8
commit 162693e19e
3 changed files with 15 additions and 10 deletions
@@ -39,6 +39,7 @@ export default function SourcesPanel() {
const setCustomFields = useSheetStore((state) => state.setCustomFields);
const setSheetId = useSheetStore((state) => state.setSheetId);
const sheetId = useSheetStore((state) => state.sheetId);
const resetPreview = useSheetStore((state) => state.resetPreview);
const fileInputRef = useRef<HTMLInputElement>(null);
@@ -221,6 +222,7 @@ export default function SourcesPanel() {
customFields={customFields}
onFinished={handleFinished}
onCancel={cancelImportMap}
onBack={resetPreview}
/>
)}
</Panel.Card>