bart-tile/dist/js/reducers/config.js

12 lines
208 B
JavaScript
Raw Permalink Normal View History

2020-05-10 04:24:46 -07:00
import _ from 'lodash';
export class ConfigReducer {
reduce(json, state) {
2020-05-10 04:30:23 -07:00
let data = _.get(json, 'barttile', false);
2020-05-10 04:24:46 -07:00
if (data) {
state.inbox = data.inbox;
}
}
}