mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26: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
7
src/redux/editor/selectors.ts
Normal file
7
src/redux/editor/selectors.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { IState } from "../store";
|
||||
|
||||
export const selectEditor = (state: IState) => state.editor;
|
||||
export const selectEditorEditing = (state: IState) => state.editor.editing;
|
||||
export const selectEditorMode = (state: IState) => state.editor.mode;
|
||||
export const selectEditorActiveSticker = (state: IState) => state.editor.activeSticker;
|
||||
export const selectEditorRenderer = (state: IState) => state.editor.renderer;
|
Loading…
Add table
Add a link
Reference in a new issue