Add missing DAEMON_READY reducer

This commit is contained in:
6ea86b96 2017-05-02 10:57:50 +07:00 committed by Jeremy Kauffman
parent 63c3af32f8
commit bf5fa75892

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,