renamed app component

This commit is contained in:
bill bittner 2018-06-06 13:45:54 -07:00
parent 5cb421c0e7
commit fdd1e79a2c
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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;