MCPcopy Create free account
hub / github.com/codemistic/Web-Development / logoutHandler

Function logoutHandler

Yet Another LinkedIn Clone/Header.js:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 const dispatch = useDispatch();
18
19 const logoutHandler = async () => {
20 await auth.signOut();
21 dispatch(logout());
22 };
23
24 return (
25 <div className="header">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected