소스 검색

fix sidebar home button

Aykut Saraç 3 년 전
부모
커밋
85c8fd78d6
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/components/Sidebar/index.tsx

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

@@ -154,13 +154,13 @@ const Sidebar: React.FC<{
             </StyledLogo>
           </StyledElement>
         </Link>
-        <Link passHref href="/">
-          <Tooltip title="Home">
+        <Tooltip title="Home">
+          <Link passHref href="/">
             <StyledElement as="a">
               <AiFillHome />
             </StyledElement>
-          </Tooltip>
-        </Link>
+          </Link>
+        </Tooltip>
         <Tooltip title="Auto Format">
           <StyledElement
             as="a"