index.tsx16 lines · main
| 1 | import { PlatformWebhooksPage } from '@/components/interfaces/Platform/Webhooks' |
| 2 | import DefaultLayout from '@/components/layouts/DefaultLayout' |
| 3 | import SettingsLayout from '@/components/layouts/ProjectSettingsLayout/SettingsLayout' |
| 4 | import type { NextPageWithLayout } from '@/types' |
| 5 | |
| 6 | const ProjectWebhooksSettings: NextPageWithLayout = () => { |
| 7 | return <PlatformWebhooksPage scope="project" /> |
| 8 | } |
| 9 | |
| 10 | ProjectWebhooksSettings.getLayout = (page) => ( |
| 11 | <DefaultLayout> |
| 12 | <SettingsLayout title="webhooks">{page}</SettingsLayout> |
| 13 | </DefaultLayout> |
| 14 | ) |
| 15 | |
| 16 | export default ProjectWebhooksSettings |