diff --git a/apps/web/pages/index.jsx b/apps/web/pages/index.jsx index 041753e..523aad7 100644 --- a/apps/web/pages/index.jsx +++ b/apps/web/pages/index.jsx @@ -2,7 +2,7 @@ import Head from 'next/head'; import { description, title } from 'config/constants'; import Login from 'components/Login'; -function PageHead({ title }) { +function PageHead() { return ( {`Вход - ${title}`} @@ -10,7 +10,7 @@ function PageHead({ title }) { ); } -export default function Home({ title, description }) { +export default function Home() { return ( <> @@ -18,12 +18,3 @@ export default function Home({ title, description }) { ); } - -export function getStaticProps() { - return { - props: { - title, - description, - }, - }; -}