Skip to content

Commit aafe223

Browse files
authored
refactor: use body selector for scroll to top
1 parent 46c1700 commit aafe223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ const Footer = ({ lastDeployLocaleTimestamp }: FooterProps) => {
320320
<Button
321321
variant="outline"
322322
isSecondary
323-
onClick={() => scrollIntoView("div.mx-auto")}
323+
onClick={() => scrollIntoView("body")}
324324
>
325325
<IoChevronUpSharp /> Go to top
326326
</Button>

0 commit comments

Comments
 (0)