spee.ch/react/reducers/site.js
2018-03-15 10:54:41 -07:00

21 lines
368 B
JavaScript

const siteConfig = require('../../config/siteConfig.js');
const {
details: { title, host },
assetDefaults: { thumbnail: defaultThumbnail },
} = siteConfig;
const initialState = {
host,
title,
defaults: {
defaultThumbnail,
},
};
export default function (state = initialState, action) {
switch (action.type) {
default:
return state;
}
}