mirror of
https://github.com/yudejp/yude.jp.git
synced 2025-01-22 20:47:14 +00:00
Delete unused imports
This commit is contained in:
parent
0e6d8d2bc8
commit
92459e7a4a
@ -1,7 +1,7 @@
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export default function LanguageMenu() {
|
||||
const { t, i18n: { changeLanguage, language } } = useTranslation();
|
||||
const { i18n: { changeLanguage, language } } = useTranslation();
|
||||
|
||||
return (
|
||||
<>
|
||||
|
@ -1,7 +1,5 @@
|
||||
import { atom, useRecoilState, useSetRecoilState } from "recoil";
|
||||
import { useEffect } from "react";
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import { faSun, faMoon } from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
export type Theme = "light" | "dark";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import i18n from "i18next";
|
||||
import { useTranslation, initReactI18next } from "react-i18next";
|
||||
import { initReactI18next } from "react-i18next";
|
||||
import ja from './locales/ja.json'
|
||||
import en from './locales/en.json'
|
||||
import zhCN from './locales/zh-cn.json'
|
||||
|
Loading…
Reference in New Issue
Block a user