diff --git a/components/Layout/index.tsx b/components/Layout/index.tsx index 2d300c5..e2f74b9 100644 --- a/components/Layout/index.tsx +++ b/components/Layout/index.tsx @@ -1,14 +1,14 @@ +import { PropsWithChildren } from 'react'; import Head from 'next/head'; -import Footer from '../Footer'; +import Footer from '~/components/Footer'; import styles from './style.module.css'; -interface LayoutProps { - children: React.ReactNode; +interface Props { title: string; } -const Layout: React.FC = ({ children, title }) => ( +const Layout = ({ children, title }: PropsWithChildren) => (
{title}