From ea4472805d4d5a717f6b880200977805961dc546 Mon Sep 17 00:00:00 2001
From: asketonim <anton.dubik33@gmail.com>
Date: Mon, 3 Feb 2020 21:28:11 +0300
Subject: fix: correct handleChange prop types

---
 src/lib/Header/Header.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/Header/Header.tsx')

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);
   };
 
-- 
cgit v1.2.3

