瀏覽代碼

add missing prop

Aykut Saraç 3 年之前
父節點
當前提交
acb0727411
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>