mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
redux: auth and map init
This commit is contained in:
parent
dca55a3bc4
commit
df6202c32d
17 changed files with 325 additions and 163 deletions
4
src/redux/user/actions.js
Normal file
4
src/redux/user/actions.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
import { ACTIONS } from '$redux/user/constants';
|
||||
|
||||
export const setUser = user => ({ type: ACTIONS.SET_USER, user });
|
||||
export const setEditing = editing => ({ type: ACTIONS.SET_EDITING, editing });
|
Loading…
Add table
Add a link
Reference in a new issue