MCPcopy Create free account
hub / github.com/HelloCSV/HelloCSV / handleConfirm

Function handleConfirm

src/mapper/components/HeaderMapper.tsx:55–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 const [isMappingInProgress, setIsMappingInProgress] = useState(false);
54
55 async function handleConfirm() {
56 try {
57 setIsMappingInProgress(true);
58 await onMappingsSet();
59 } finally {
60 setIsMappingInProgress(false);
61 }
62 }
63
64 return (
65 <div className="flex h-full flex-col">

Callers

nothing calls this directly

Calls 1

onMappingsSetFunction · 0.85

Tested by

no test coverage detected