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 => ( - )} + ))} /> ))}