MCPcopy Create free account
hub / github.com/basir/node-react-ecommerce / logout

Function logout

frontend/src/actions/userActions.js:48–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48const logout = () => (dispatch) => {
49 Cookie.remove("userInfo");
50 dispatch({ type: USER_LOGOUT })
51}
52export { signin, register, logout, update };

Callers 1

handleLogoutFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected