0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-11-01 16:07:59 +09:00
yude.jp/pages/minecraft/players/[uuid].js

27 lines
579 B
JavaScript
Raw Normal View History

// Base layout
import Layout from "../../components/Layout"
// i18n
import useTranslation from 'next-translate/useTranslation'
// React
import { useRouter } from 'next/router'
// Data fetching
import UUIDCheck from '../../components/Minecraft/UUIDCheck'
export default function Players() {
const router = useRouter()
const { locale, locales, defaultLocale, pathname } = router
const { t, lang } = useTranslation("index")
const { uuid } = router.query
return (
<>
<Layout title={t('home')}>
<UUIDCheck uuid={uuid} />
</Layout>
</>
)
}