first commit

This commit is contained in:
s.golasch
2023-08-01 12:47:58 +02:00
commit b1439a55bb
65 changed files with 3085 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
'use strict'
const {RECEIVE_HOUSEHOLD} = require('./action_constants')
module.exports = (state = {}, action) => {
switch (action.type) {
case RECEIVE_HOUSEHOLD:
return Object.assign({}, state, {
household: action.household
})
default:
return state
}
}