aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Header
diff options
context:
space:
mode:
authorasketonim <anton.dubik33@gmail.com>2020-02-03 22:00:48 +0300
committerasketonim <anton.dubik33@gmail.com>2020-02-03 22:00:48 +0300
commit94a00e852a0f99dbe9cef949375a79e175c7cc94 (patch)
tree101d559ac2f29cf51ec04db3cb9332a4f15457cf /src/lib/Header
parentea4472805d4d5a717f6b880200977805961dc546 (diff)
downloadreact-benzin-94a00e852a0f99dbe9cef949375a79e175c7cc94.tar.gz
fix: correct setPage type
Diffstat (limited to 'src/lib/Header')
-rw-r--r--src/lib/Header/Header.tsx2
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) => ({