From e980e36f23d58466a4b8e80531c713e8919c2c16 Mon Sep 17 00:00:00 2001 From: Michal Osadnik Date: Sun, 21 Jul 2019 21:56:53 +0100 Subject: [PATCH] refactor: fix types --- src/useNavigationBuilder.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/useNavigationBuilder.tsx b/src/useNavigationBuilder.tsx index bdf3f74e..499dc6ec 100644 --- a/src/useNavigationBuilder.tsx +++ b/src/useNavigationBuilder.tsx @@ -42,7 +42,7 @@ const getRouteConfigsFromChildren = (children: React.ReactNode) => export default function useNavigationBuilder< Options extends DefualtOptions = DefualtOptions ->(router: RouterHelper, options: Options) { +>(router: RouterHelper, options: Options) { const { current: currentRouter } = React.useRef>( typeof router === 'function' ? router(options) : router );