Remove unused peoplePageRoute file
This commit is contained in:
parent
1a324af241
commit
c18910b7c4
|
@ -1,27 +0,0 @@
|
|||
/**
|
||||
* Light lazy-loadable wrapper for the people module
|
||||
*/
|
||||
|
||||
import React from 'react'
|
||||
import { Route } from 'react-router-dom'
|
||||
|
||||
const PeoplePage = React.lazy(() =>
|
||||
import('./PeoplePage').then(x => ({
|
||||
default: x.PeoplePage,
|
||||
}))
|
||||
)
|
||||
|
||||
const PersonPage = React.lazy(() =>
|
||||
import('./PeoplePage').then(x => ({
|
||||
default: x.PersonPage,
|
||||
}))
|
||||
)
|
||||
|
||||
const peoplePageRoute = () => (
|
||||
<>
|
||||
<Route path=":person" element={<PersonPage />} />
|
||||
<Route index element={<PeoplePage />} />
|
||||
</>
|
||||
)
|
||||
|
||||
export default peoplePageRoute
|
Loading…
Reference in New Issue