From e231f33c24a742c5d3eda6d9ec6901a1a2e0e369 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 14 Nov 2020 12:32:24 +0300 Subject: fix: resolve new typescript error --- src/demo/Header/Header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/demo') 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 = ({ }) => { const classes = useStyles(); - const handleChange = (event: React.ChangeEvent<{}>, newPage: string): void => { + const handleChange = (event: React.ChangeEvent, newPage: string): void => { setPage(newPage); }; -- cgit v1.2.3