aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Header/Header.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Header/Header.tsx')
-rw-r--r--src/lib/Header/Header.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Header/Header.tsx b/src/lib/Header/Header.tsx
index 7f3d35d..233eacb 100644
--- a/src/lib/Header/Header.tsx
+++ b/src/lib/Header/Header.tsx
@@ -23,7 +23,7 @@ interface PropTypes {
setPage: (newPage: string) => void;
}
-const useStyles = makeStyles((theme: any) => ({
+const useStyles = makeStyles(theme => ({
root: {
background: theme.palette.background.elevation2,
color: theme.palette.text.primary,
@@ -49,7 +49,7 @@ const useStyles = makeStyles((theme: any) => ({
const Header: React.FC<PropTypes> = ({ logo, contents, page, setPage }) => {
const classes = useStyles();
- const handleChange = (event: React.ChangeEvent<{}>, newPage: string) => {
+ const handleChange = (event: React.ChangeEvent<{}>, newPage: string): void => {
setPage(newPage);
};