1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +00:00

on making usernavigator

This commit is contained in:
Rokt33r
2015-10-12 22:29:24 +09:00
parent a9e12e4384
commit 972a3746a1
8 changed files with 123 additions and 31 deletions

View File

@@ -1,8 +1,16 @@
export const PARAMS_CHANGE = 'PARAMS_CHANGE'
export const USER_UPDATE = 'USER_UPDATE'
export function updateUser (user) {
return {
type: 'USER_UPDATE',
type: USER_UPDATE,
data: user
}
}
export function switchParams (params) {
return {
type: PARAMS_CHANGE,
data: params
}
}