mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
feat: update default layout
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { Link } from '@inertiajs/react';
|
||||
import { route } from '@izzyjs/route/client';
|
||||
import { ReactNode } from 'react';
|
||||
import { Trans, useTranslation } from 'react-i18next';
|
||||
import { ContentLayout } from '~/layouts/content_layout';
|
||||
|
||||
function TermsPage() {
|
||||
export default function TermsPage() {
|
||||
const { t } = useTranslation('terms');
|
||||
return (
|
||||
<>
|
||||
@@ -52,6 +50,3 @@ function TermsPage() {
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
TermsPage.layout = (page: ReactNode) => <ContentLayout children={page} />;
|
||||
export default TermsPage;
|
||||
|
||||
Reference in New Issue
Block a user