0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-23 04:30:11 +09:00

Fix unused val, Add comments

This commit is contained in:
yude 2021-09-22 07:24:00 +09:00
parent 958e9803fb
commit 0258de61b0
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -1,15 +1,17 @@
// Base layout
import Layout from "./components/Layout" import Layout from "./components/Layout"
// React, i18n
import useTranslation from 'next-translate/useTranslation' import useTranslation from 'next-translate/useTranslation'
import { useRouter } from 'next/router'
import React from "react" import React from "react"
import ReactMarkdown from "react-markdown" import ReactMarkdown from "react-markdown"
// Markdown
import gfm from 'remark-gfm'; import gfm from 'remark-gfm';
import ja from '../docs/hcunews/ja.md' import ja from '../docs/hcunews/ja.md'
import en from '../docs/hcunews/en.md' import en from '../docs/hcunews/en.md'
export default function Tos(props) { export default function HcuNews() {
const router = useRouter()
const { locale, locales, defaultLocale, pathname } = router
const { t, lang } = useTranslation("hcunews") const { t, lang } = useTranslation("hcunews")
return( return(