react-native-authentication icon indicating copy to clipboard operation
react-native-authentication copied to clipboard

The "clearSession" It's not cleaning

Open rochapablo opened this issue 8 years ago • 0 comments

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?

rochapablo avatar Aug 22 '17 14:08 rochapablo