webapp/src/components/Pages/InboxPage.tsx

20 lines
475 B
TypeScript
Raw Normal View History

2022-11-16 13:44:41 +00:00
import { PageWrap } from '../_shared/PageWrap'
import { InboxView } from '../Views/Inbox'
2022-11-24 15:39:31 +00:00
import { InboxProvider } from '../../context/inbox'
import { ShowOnlyOnClient } from '../_shared/ShowOnlyOnClient'
2022-11-16 13:44:41 +00:00
2022-11-24 06:52:31 +00:00
export const InboxPage = () => {
2022-11-16 13:44:41 +00:00
return (
2022-11-23 04:12:11 +00:00
<PageWrap hideFooter={true}>
2022-11-24 15:39:31 +00:00
<ShowOnlyOnClient>
<InboxProvider>
<InboxView />
</InboxProvider>
</ShowOnlyOnClient>
2022-11-16 13:44:41 +00:00
</PageWrap>
)
}
// for lazy loading
export default InboxPage