Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaterializeInc/materialize
/ handleConfirm
Function
handleConfirm
console/src/components/DangerActionModal.tsx:72–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
70
const [confirmation, setConfirmation] = useState(
""
);
71
const isConfirmed = confirmation === confirmText;
72
const handleConfirm = async () => {
73
await onConfirm();
74
onClose();
75
};
76
77
return (
78
<>
Callers
1
DangerActionModal
Function · 0.85
Calls
1
onClose
Function · 0.70
Tested by
no test coverage detected