mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
moved components to TypeScript
This commit is contained in:
parent
85b8860862
commit
0a01c91271
54 changed files with 2771 additions and 5134 deletions
|
@ -43,7 +43,7 @@ export function configureStore(): { store: Store<any>, persistor: Persistor } {
|
|||
}
|
||||
|
||||
export const history = createBrowserHistory();
|
||||
export const historyListener = history.listen((location, action) => {
|
||||
if (action === 'REPLACE') return;
|
||||
store.dispatch(locationChanged(location.pathname));
|
||||
});
|
||||
// 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