Fix configs loading #470

Merged
bones7242 merged 15 commits from fix-configs-loading into master 2018-06-07 19:40:01 +02:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit fdd1e79a2c - Show all commits

View file

@ -23,7 +23,7 @@ var _MultisitePage = _interopRequireDefault(require("@pages/MultisitePage"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var customizedApp = function customizedApp() { var App = function App() {
return _react.default.createElement(_reactRouterDom.Switch, null, _react.default.createElement(_reactRouterDom.Route, { return _react.default.createElement(_reactRouterDom.Switch, null, _react.default.createElement(_reactRouterDom.Route, {
exact: true, exact: true,
path: "/", path: "/",
@ -53,5 +53,5 @@ var customizedApp = function customizedApp() {
})); }));
}; };
var _default = customizedApp; var _default = App;
exports.default = _default; exports.default = _default;

View file

@ -8,7 +8,7 @@ import ShowPage from '@pages/ShowPage';
import FourOhFourPage from '@pages/FourOhFourPage'; import FourOhFourPage from '@pages/FourOhFourPage';
import MultisitePage from '@pages/MultisitePage'; import MultisitePage from '@pages/MultisitePage';
const customizedApp = () => { const App = () => {
return ( return (
<Switch> <Switch>
<Route exact path='/' component={HomePage} /> <Route exact path='/' component={HomePage} />
@ -22,4 +22,4 @@ const customizedApp = () => {
); );
}; };
export default customizedApp; export default App;