소스 검색

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>