Skip to content

The "clearSession" It's not cleaning #9

@rochapablo

Description

@rochapablo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions