Redux #115

Merged
6ea86b96 merged 57 commits from redux into redux 2017-05-05 22:55:12 +02:00
Showing only changes of commit bf5fa75892 - Show all commits

View file

@ -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,