Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dhatGuy/PERN-Store
/ toggleModal
Function
toggleModal
client/src/components/ForgotPasswordModal.jsx:28–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
} = useForm();
27
28
const toggleModal = () => {
29
setMsg(
""
);
30
setIsOpen(!isOpen);
31
};
32
33
const onSubmitReset = (data) => {
34
setMsg(
""
);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected