aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json2
-rw-r--r--src/lib/Header/Header.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/package-lock.json b/package-lock.json
index 78a002e..1e0ba76 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "react-benzin",
- "version": "2.0.0",
+ "version": "2.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/src/lib/Header/Header.tsx b/src/lib/Header/Header.tsx
index e052f6c..4e75ada 100644
--- a/src/lib/Header/Header.tsx
+++ b/src/lib/Header/Header.tsx
@@ -49,7 +49,7 @@ const useStyles = makeStyles((theme: any) => ({
const Header: React.FC<PropTypes> = ({ logo, contents, page, setPage }) => {
const classes = useStyles();
- const handleChange = (event: any, newPage: string) => {
+ const handleChange = (event: React.ChangeEvent<{}>, newPage: string) => {
setPage(newPage);
};