From fde368d83319f7f153879acd91f72158550fad8a Mon Sep 17 00:00:00 2001 From: yudejp Date: Fri, 21 May 2021 18:50:24 +0900 Subject: [PATCH] Cleanup --- pages/components/DarkmodeSwitcher.js | 5 ----- pages/components/Layout.js | 1 - pages/profile.js | 9 ++++----- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/pages/components/DarkmodeSwitcher.js b/pages/components/DarkmodeSwitcher.js index 3c6bc53..53c16d8 100644 --- a/pages/components/DarkmodeSwitcher.js +++ b/pages/components/DarkmodeSwitcher.js @@ -11,11 +11,6 @@ const Layout = (props) => { const siteTitle = "yude.jp" const router = useRouter() const { locale, locales, defaultLocale, pathname } = router - - const { t, lang } = useTranslation("common") - const footer = t('footer') - const source = t('source') - const tos = t('tos') const [isMounted, setIsMounted] = useState(false); const { theme, setTheme } = useTheme(); diff --git a/pages/components/Layout.js b/pages/components/Layout.js index 00906e1..58473e5 100644 --- a/pages/components/Layout.js +++ b/pages/components/Layout.js @@ -41,7 +41,6 @@ const Layout = (props) => {
{tos} -
diff --git a/pages/profile.js b/pages/profile.js index 25ea07b..2d19085 100644 --- a/pages/profile.js +++ b/pages/profile.js @@ -61,7 +61,6 @@ export default function About(props) { { // Description } - {/*{fingerprint}:
-{fingerprint}:
-