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