0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +09:00

Remove garbage

This commit is contained in:
yude 2021-08-09 10:54:16 +09:00
parent 460225328b
commit e7cda9d4c5
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -1,6 +1,3 @@
// i18n
import useTranslation from 'next-translate/useTranslation'
// Router // Router
import { useRouter } from 'next/router' import { useRouter } from 'next/router'
import React, { useEffect, useState } from 'react' import React, { useEffect, useState } from 'react'
@ -17,14 +14,8 @@ library.add(fab, fas)
const FontAwesomeMenu = (props) => { const FontAwesomeMenu = (props) => {
const { icon, href } = props const { icon, href } = props
const siteTitle = "yude.jp"
const router = useRouter() 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')
return ( return (
<div> <div>
<Link href={href}> <Link href={href}>