mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
adding stickers on click
This commit is contained in:
parent
e0048d1fc3
commit
6db2809de5
11 changed files with 83 additions and 20 deletions
|
@ -6,6 +6,7 @@ import createSagaMiddleware from 'redux-saga';
|
|||
|
||||
import { userReducer, IRootReducer } from '$redux/user';
|
||||
import { userSaga } from '$redux/user/sagas';
|
||||
import { mapSaga } from '$redux/map/sagas';
|
||||
import { createBrowserHistory } from 'history';
|
||||
import { locationChanged } from '$redux/user/actions';
|
||||
import { PersistConfig, Persistor } from "redux-persist/es/types";
|
||||
|
@ -42,6 +43,7 @@ export const store = createStore(
|
|||
|
||||
export function configureStore(): { store: Store<any>, persistor: Persistor } {
|
||||
sagaMiddleware.run(userSaga);
|
||||
sagaMiddleware.run(mapSaga);
|
||||
|
||||
const persistor = persistStore(store);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue