spee.ch/react/reducers/site.js

22 lines
368 B
JavaScript
Raw Normal View History

const siteConfig = require('../../config/siteConfig.js');
const {
details: { title, host },
assetDefaults: { thumbnail: defaultThumbnail },
} = siteConfig;
2018-02-06 03:14:12 +01:00
const initialState = {
host,
title,
defaults: {
defaultThumbnail,
},
2018-02-06 03:14:12 +01:00
};
export default function (state = initialState, action) {
switch (action.type) {
default:
return state;
}
}