mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
save: fixed dialog
backend: fixed provider storing
This commit is contained in:
parent
17baf8ac15
commit
7cdc1f4f95
5 changed files with 17 additions and 12 deletions
|
@ -46,6 +46,7 @@ export function configureStore() {
|
|||
}
|
||||
|
||||
export const history = createBrowserHistory();
|
||||
export const historyListener = history.listen(location => {
|
||||
export const historyListener = history.listen((location, action) => {
|
||||
if (action === 'REPLACE') return;
|
||||
store.dispatch(locationChanged(location.pathname));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue