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