0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 12:10: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"
// React, i18n
import useTranslation from 'next-translate/useTranslation'
import { useRouter } from 'next/router'
import React from "react"
import ReactMarkdown from "react-markdown"
// Markdown
import gfm from 'remark-gfm';
import ja from '../docs/hcunews/ja.md'
import en from '../docs/hcunews/en.md'
export default function Tos(props) {
const router = useRouter()
const { locale, locales, defaultLocale, pathname } = router
export default function HcuNews() {
const { t, lang } = useTranslation("hcunews")
return(