html: add app title

This commit is contained in:
Chika 2022-06-14 13:01:32 +03:00
parent ed519aca98
commit 6264a94df3

View File

@ -1,13 +1,21 @@
import initializeApollo from 'apollo/client';
import Calculation from 'Components/Calculation';
import type { GetServerSideProps } from 'next';
import Head from 'next/head';
import { fetchUser } from 'services/user';
import type { BasePageProps } from 'types/page';
type PageProps = BasePageProps;
function Home() {
return <Calculation />;
return (
<>
<Head>
<title>Лизинговый калькулятор - Эволюция</title>
</Head>
<Calculation />
</>
);
}
export const getServerSideProps: GetServerSideProps<PageProps> = async (ctx) => {