mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-28 12:36:41 +07:00
moved editor to separate reducer
This commit is contained in:
parent
e950d98b73
commit
87670770b0
38 changed files with 1425 additions and 1069 deletions
|
@ -12,15 +12,15 @@ import * as MAP_ACTIONS from "~/redux/map/actions";
|
|||
import { Route } from "~/containers/map/Route";
|
||||
import { TileLayer } from "~/containers/map/TileLayer";
|
||||
import { Stickers } from "~/containers/map/Stickers";
|
||||
import { selectUserEditing } from '~/redux/user/selectors'
|
||||
|
||||
import 'leaflet/dist/leaflet.css';
|
||||
import { selectEditorEditing } from "~/redux/editor/selectors";
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
provider: selectMapProvider(state),
|
||||
route: selectMapRoute(state),
|
||||
stickers: selectMapStickers(state),
|
||||
editing: selectUserEditing(state),
|
||||
editing: selectEditorEditing(state),
|
||||
});
|
||||
|
||||
const mapDispatchToProps = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue