From 8d474f74eb07738785687a51bad24a13b2dae010 Mon Sep 17 00:00:00 2001 From: Sonny Date: Thu, 31 Oct 2024 01:27:30 +0100 Subject: [PATCH] refactor(mantine): use new content layout for terms --- inertia/pages/terms.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inertia/pages/terms.tsx b/inertia/pages/terms.tsx index 4e90f46..e8dfd58 100644 --- a/inertia/pages/terms.tsx +++ b/inertia/pages/terms.tsx @@ -2,7 +2,7 @@ import { Link } from '@inertiajs/react'; import { route } from '@izzyjs/route/client'; import { ReactNode } from 'react'; import { Trans, useTranslation } from 'react-i18next'; -import LegalContentLayout from '~/components/layouts/legal_content_layout'; +import { MantineContentLayout } from '~/components/layouts/mantine/mantine_content_layout'; function TermsPage() { const { t } = useTranslation('terms'); @@ -53,5 +53,7 @@ function TermsPage() { ); } -TermsPage.layout = (page: ReactNode) => ; +TermsPage.layout = (page: ReactNode) => ( + +); export default TermsPage;