I am using react redux combination with following structure:

```
<div>
  // Material ui autocomplete component which sets value in redux store
  <Switch>
  <Route exact path="/abc"><CompA/></Route>
<Route path="/abc/add"><CompB/></Route>
</Switch>
</div>

```

If I am on /abc/add page and I click on browser back button it is not clearing the store but if I refresh the page after that it clears the store. How can I clear it on back button press?

Thanks in advance.