set explicit page title on homepage

This commit is contained in:
Matt Dunn-Rankin 2020-05-10 01:01:14 -07:00
parent 9b4a677395
commit 785d119324

View file

@ -10,6 +10,7 @@ import {
useTheme, useTheme,
useToast, useToast,
} from "@chakra-ui/core"; } from "@chakra-ui/core";
import { Helmet } from "react-helmet";
import { useHistory } from "react-router-dom"; import { useHistory } from "react-router-dom";
import { useLazyQuery } from "@apollo/react-hooks"; import { useLazyQuery } from "@apollo/react-hooks";
@ -20,6 +21,10 @@ import SpeciesColorPicker from "./SpeciesColorPicker";
function HomePage() { function HomePage() {
return ( return (
<>
<Helmet>
<title>Dress to Impress</title>
</Helmet>
<Flex <Flex
color="green.800" color="green.800"
direction="column" direction="column"
@ -47,6 +52,7 @@ function HomePage() {
<Box height="4" /> <Box height="4" />
<SubmitPetForm /> <SubmitPetForm />
</Flex> </Flex>
</>
); );
} }