mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 19:29:15 +00:00
Remove unused peoplePageRoute file
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user