1
Fork 0

Remove unused peoplePageRoute file

This commit is contained in:
viktorstrate 2022-02-01 13:54:46 +01:00
parent 1a324af241
commit c18910b7c4
No known key found for this signature in database
GPG Key ID: 3F855605109C1E8A
1 changed files with 0 additions and 27 deletions

View File

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