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