renamed app component
This commit is contained in:
parent
5cb421c0e7
commit
fdd1e79a2c
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 }; }
|
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;
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue