users.tsx16 lines · main
| 1 | import { UsersV2 } from '@/components/interfaces/Auth/Users/UsersV2' |
| 2 | import AuthLayout from '@/components/layouts/AuthLayout/AuthLayout' |
| 3 | import DefaultLayout from '@/components/layouts/DefaultLayout' |
| 4 | import type { NextPageWithLayout } from '@/types' |
| 5 | |
| 6 | const UsersPage: NextPageWithLayout = () => { |
| 7 | return <UsersV2 /> |
| 8 | } |
| 9 | |
| 10 | UsersPage.getLayout = (page) => ( |
| 11 | <DefaultLayout> |
| 12 | <AuthLayout title="users">{page}</AuthLayout> |
| 13 | </DefaultLayout> |
| 14 | ) |
| 15 | |
| 16 | export default UsersPage |