adding stickers on click

This commit is contained in:
Fedor Katurov 2019-12-30 17:35:37 +07:00
parent e0048d1fc3
commit 6db2809de5
11 changed files with 83 additions and 20 deletions

View file

@ -37,7 +37,7 @@ export interface IRootReducer {
ready: boolean,
user: IUser,
editing: boolean,
mode: keyof typeof MODES,
mode: typeof MODES[keyof typeof MODES],
logo: keyof typeof LOGOS,
routerPoints: number,
distance: number,

View file

@ -1,3 +1,5 @@
import { IState } from '$redux/store'
export const selectUserEditing = (state: IState) => state.user.editing;
export const selectUserEditing = (state: IState) => state.user.editing;
export const selectUserMode = (state: IState) => state.user.mode;
export const selectUserActiveSticker = (state: IState) => state.user.activeSticker;