From 2d1f516bd3da8cc226617556183a6f6831928a01 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sun, 9 Feb 2020 03:07:40 +0900 Subject: [PATCH] use forwardRef --- styles/TopAppBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/TopAppBar.tsx b/styles/TopAppBar.tsx index a4ba1e8..a7b36b1 100644 --- a/styles/TopAppBar.tsx +++ b/styles/TopAppBar.tsx @@ -26,12 +26,12 @@ const TopAppBar = () => { key={pathname} value={pathname} icon={icon} - component={React.forwardRef(props => ( + component={React.forwardRef((props, ref) => ( - + ))} />