From 94a00e852a0f99dbe9cef949375a79e175c7cc94 Mon Sep 17 00:00:00 2001
From: asketonim <anton.dubik33@gmail.com>
Date: Mon, 3 Feb 2020 22:00:48 +0300
Subject: fix: correct setPage type

---
 src/lib/Header/Header.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/Header/Header.tsx')

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) => ({
-- 
cgit v1.2.3

