diff options
author | asketonim <anton.dubik33@gmail.com> | 2020-02-03 22:00:48 +0300 |
---|---|---|
committer | asketonim <anton.dubik33@gmail.com> | 2020-02-03 22:00:48 +0300 |
commit | 94a00e852a0f99dbe9cef949375a79e175c7cc94 (patch) | |
tree | 101d559ac2f29cf51ec04db3cb9332a4f15457cf /src/lib | |
parent | ea4472805d4d5a717f6b880200977805961dc546 (diff) | |
download | react-benzin-94a00e852a0f99dbe9cef949375a79e175c7cc94.tar.gz |
fix: correct setPage type
Diffstat (limited to 'src/lib')
-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 4e75ada..7f3d35d 100644 --- a/src/lib/Header/Header.tsx +++ b/src/lib/Header/Header.tsx @@ -20,7 +20,7 @@ interface PropTypes { [key: string]: React.ReactNode | null; }; page: string; - setPage: any; + setPage: (newPage: string) => void; } const useStyles = makeStyles((theme: any) => ({ |