index.tsx19 lines · main
1import { PlatformWebhooksPage } from '@/components/interfaces/Platform/Webhooks'
2import { DefaultLayout } from '@/components/layouts/DefaultLayout'
3import OrganizationLayout from '@/components/layouts/OrganizationLayout'
4import { OrganizationSettingsLayout } from '@/components/layouts/ProjectLayout/OrganizationSettingsLayout'
5import type { NextPageWithLayout } from '@/types'
6
7const OrgWebhooksSettings: NextPageWithLayout = () => {
8 return <PlatformWebhooksPage scope="organization" />
9}
10
11OrgWebhooksSettings.getLayout = (page) => (
12 <DefaultLayout>
13 <OrganizationLayout title="Webhooks">
14 <OrganizationSettingsLayout>{page}</OrganizationSettingsLayout>
15 </OrganizationLayout>
16 </DefaultLayout>
17)
18
19export default OrgWebhooksSettings