Redux #115
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@ const defaultState = {
|
||||||
hasSignature: false,
|
hasSignature: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reducers[types.DAEMON_READY] = function(state, action) {
|
||||||
|
return Object.assign({}, state, {
|
||||||
|
daemonReady: true,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
reducers[types.NAVIGATE] = function(state, action) {
|
reducers[types.NAVIGATE] = function(state, action) {
|
||||||
return Object.assign({}, state, {
|
return Object.assign({}, state, {
|
||||||
currentPath: action.data.path,
|
currentPath: action.data.path,
|
||||||
|
|
Loading…
Reference in a new issue