Przeglądaj źródła

add missing prop

Aykut Saraç 3 lat temu
rodzic
commit
acb0727411
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/Sidebar/index.tsx

+ 1 - 1
src/components/Sidebar/index.tsx

@@ -152,7 +152,7 @@ const Sidebar: React.FC<{
             </StyledLogo>
           </StyledElement>
         </Link>
-        <Link href="/">
+        <Link passHref href="/">
           <StyledElement as="a" title="Home">
             <AiFillHome />
           </StyledElement>