import React, { lazy } from 'react' import { BrowserRouter as Router, Switch, Route, Redirect } from 'react-router-dom' import AccessibleNavigationAnnouncer from './components/AccessibleNavigationAnnouncer' const Layout = lazy(() => import('./containers/Layout')) const Login = lazy(() => import('./pages/Login')) const CreateAccount = lazy(() => import('./pages/CreateAccount')) const ForgotPassword = lazy(() => import('./pages/ForgotPassword')) function App() { return ( <> {/* Place new routes over this */} {/* If you have an index page, you can remothis Redirect */} ) } export default App