MCPcopy Create free account
hub / github.com/Tailframes/react-components / handleClose

Function handleClose

components/toast.tsx:154–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 };
153
154 const handleClose = () => {
155 setToast(null);
156 };
157
158 // auto closing
159 useEffect(() => {

Callers

nothing calls this directly

Calls 1

setToastFunction · 0.85

Tested by

no test coverage detected