import React , { FC , Fragment } from 'react' ; import { Router } from '@reach/router' ; import TenantsPage from '../templates/TenantsPage' ; import AdminPage from '../templates/AdminPage' ; import TenantDashboardPage from '../templates/TenantDashboardPage' ; import LoginPage from '../templates/LoginPage' ; import OnboardPage from '../templates/OnboardPage' ; import SEO from '../components/SEO' ; const App = ( ) => { return ( < Fragment > < SEO /> < Router > < LoginPage path = "/app/login" / > < OnboardPage path = "/app/onboard" / > < AdminPage path = "/app/tenants" > < TenantDashboardPage path = "/:tenantId" / > < TenantsPage path = "/" / > < /AdminPage> < /Router> < /Fragment>); } ; export default App ;