aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-11-14 12:32:24 +0300
committereug-vs <eug-vs@keemail.me>2020-11-14 12:32:24 +0300
commite231f33c24a742c5d3eda6d9ec6901a1a2e0e369 (patch)
tree581b035e1053a3663ab5a38d6354a1c938561665
parentc56491df7441f3883a6fc4d62d9e36fdf3c5c665 (diff)
downloadreact-benzin-e231f33c24a742c5d3eda6d9ec6901a1a2e0e369.tar.gz
fix: resolve new typescript error
-rw-r--r--src/demo/Header/Header.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demo/Header/Header.tsx b/src/demo/Header/Header.tsx
index 58be989..4095fb3 100644
--- a/src/demo/Header/Header.tsx
+++ b/src/demo/Header/Header.tsx
@@ -51,7 +51,7 @@ const Header: React.FC<PropTypes> = ({
}) => {
const classes = useStyles();
- const handleChange = (event: React.ChangeEvent<{}>, newPage: string): void => {
+ const handleChange = (event: React.ChangeEvent<unknown>, newPage: string): void => {
setPage(newPage);
};