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