Fix configs loading #470
2 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ var _MultisitePage = _interopRequireDefault(require("@pages/MultisitePage"));
|
|||
|
||||
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, {
|
||||
exact: true,
|
||||
path: "/",
|
||||
|
@ -53,5 +53,5 @@ var customizedApp = function customizedApp() {
|
|||
}));
|
||||
};
|
||||
|
||||
var _default = customizedApp;
|
||||
var _default = App;
|
||||
exports.default = _default;
|
|
@ -8,7 +8,7 @@ import ShowPage from '@pages/ShowPage';
|
|||
import FourOhFourPage from '@pages/FourOhFourPage';
|
||||
import MultisitePage from '@pages/MultisitePage';
|
||||
|
||||
const customizedApp = () => {
|
||||
const App = () => {
|
||||
return (
|
||||
<Switch>
|
||||
<Route exact path='/' component={HomePage} />
|
||||
|
@ -22,4 +22,4 @@ const customizedApp = () => {
|
|||
);
|
||||
};
|
||||
|
||||
export default customizedApp;
|
||||
export default App;
|
||||
|
|
Loading…
Reference in a new issue