react-native-authentication
react-native-authentication copied to clipboard
The "clearSession" It's not cleaning
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?