webapp/src/components/Pages/AuthorPage.tsx

15 lines
363 B
TypeScript
Raw Normal View History

2022-09-22 09:37:49 +00:00
import { MainLayout } from '../Layouts/MainLayout'
import { AuthorView } from '../Views/Author'
import type { PageProps } from '../types'
export const AuthorPage = (props: PageProps) => {
return (
<MainLayout>
<AuthorView author={props.author} authorArticles={props.articles} />
</MainLayout>
)
}
// for lazy loading
export default AuthorPage