addressing comments by changing variable types and adding styles to home page title
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user