Explorar o código

fix sidebar home button

Aykut Saraç %!s(int64=3) %!d(string=hai) anos
pai
achega
85c8fd78d6
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  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"