You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
spa_instat_tv/src/features/App/AuthenticatedApp.tsx

20 lines
332 B

import React from 'react'
import {
Route,
Redirect,
Switch,
} from 'react-router-dom'
import { PAGES } from 'config'
import { HomePage } from 'features/HomePage'
export const AuthenticatedApp = () => (
<Switch>
<Route path={PAGES.home}>
<HomePage />
</Route>
<Redirect to={PAGES.home} />
</Switch>
)