diff --git a/components/DarkModeButton.js b/components/DarkModeButton.js
index 7450ac3d..d1aca4fd 100644
--- a/components/DarkModeButton.js
+++ b/components/DarkModeButton.js
@@ -9,7 +9,7 @@ const DarkModeButton = () => {
saveTheme(newTheme)
changeTheme(newTheme)
}
- return
+ return
diff --git a/components/JumpToTopButton.js b/components/JumpToTopButton.js
index 71dea964..69db5db8 100644
--- a/components/JumpToTopButton.js
+++ b/components/JumpToTopButton.js
@@ -32,7 +32,7 @@ const JumpToTopButton = ({ targetRef, showPercent = true }) => {
}, [show])
return (
-
+
window.scrollTo({ top: 0, behavior: 'smooth' })}
diff --git a/components/TocDrawerButton.js b/components/TocDrawerButton.js
index 2ab87a41..39f9f98e 100644
--- a/components/TocDrawerButton.js
+++ b/components/TocDrawerButton.js
@@ -10,7 +10,7 @@ import React from 'react'
*/
const TocDrawerButton = (props) => {
return (
-
+
diff --git a/layouts/BaseLayout.js b/layouts/BaseLayout.js
index 4da6e219..360005d7 100644
--- a/layouts/BaseLayout.js
+++ b/layouts/BaseLayout.js
@@ -81,7 +81,7 @@ const BaseLayout = ({
{children}
-