addressing comments by changing variable types and adding styles to home page title

This commit is contained in:
Drew Taylor
2021-07-22 11:47:46 -07:00
parent 293e1308fd
commit 2a186736c3
5 changed files with 323 additions and 320 deletions

View File

@@ -28,16 +28,14 @@ const Home = () => {
useEffect(() => {
setTitle("");
setTitle("Home");
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (
<div className={classes.paper}>
<Typography component="h1" variant="h5">
<Typography className={classes.homePageTitle} component="h1" variant="h5">
{greeting}
</Typography>
<br />
<VehicleMap />
</div>
);