Add missing DAEMON_READY reducer

This commit is contained in:
6ea86b96 2017-05-02 10:57:50 +07:00 committed by Jeremy Kauffman
parent 124cc54a77
commit 1f22a3353b

View file

@ -15,6 +15,12 @@ const defaultState = {
hasSignature: false,
}
reducers[types.DAEMON_READY] = function(state, action) {
return Object.assign({}, state, {
daemonReady: true,
})
}
reducers[types.NAVIGATE] = function(state, action) {
return Object.assign({}, state, {
currentPath: action.data.path,