Open rochapablo opened 7 years ago
When I call
export const destroy = () => clearSession()
const clearSession = () => { clearTimeout(sessionTimeout) store.dispatch(actionCreators.update(initialState)) }
inside my component, the session still existing.
What am I doing wrong?
When I call
inside my component, the session still existing.
What am I doing wrong?