diff options
author | asketonim <anton.dubik33@gmail.com> | 2020-02-03 21:28:11 +0300 |
---|---|---|
committer | asketonim <anton.dubik33@gmail.com> | 2020-02-03 21:28:11 +0300 |
commit | ea4472805d4d5a717f6b880200977805961dc546 (patch) | |
tree | c4e63bd459c16b6c80acae3d26362995a08952e4 /src/lib/Header/Header.tsx | |
parent | 78f5ec6998f96da4f99f169c10e6639dfa818207 (diff) | |
download | react-benzin-ea4472805d4d5a717f6b880200977805961dc546.tar.gz |
fix: correct handleChange prop types
Diffstat (limited to 'src/lib/Header/Header.tsx')
-rw-r--r-- | src/lib/Header/Header.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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); }; |