webapp/src/components/Pages/AllTopicsPage.tsx

18 lines
453 B
TypeScript
Raw Normal View History

2022-11-14 17:41:05 +00:00
import { PageWrap } from '../_shared/PageWrap'
2022-09-22 09:37:49 +00:00
import { AllTopicsView } from '../Views/AllTopics'
import type { PageProps } from '../types'
2022-11-14 17:41:05 +00:00
import { ClientContainer } from '../_shared/ClientContainer'
2022-09-22 09:37:49 +00:00
export const AllTopicsPage = (props: PageProps) => {
return (
<PageWrap>
2022-11-14 17:41:05 +00:00
<ClientContainer>
2022-10-05 15:11:14 +00:00
<AllTopicsView topics={props.allTopics} />
2022-11-14 17:41:05 +00:00
</ClientContainer>
</PageWrap>
2022-09-22 09:37:49 +00:00
)
}
// for lazy loading
export default AllTopicsPage