Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
48
const
logout = () => (dispatch) => {
49
Cookie.remove(
"userInfo"
);
50
dispatch({
type
: USER_LOGOUT })
51
}
52
export
{ signin, register, logout, update };
Callers
1
handleLogout
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected