Delete unused imports

This commit is contained in:
Sumire Isshiki 2024-03-25 04:11:37 +00:00
parent 0e6d8d2bc8
commit 92459e7a4a
3 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
export default function LanguageMenu() { export default function LanguageMenu() {
const { t, i18n: { changeLanguage, language } } = useTranslation(); const { i18n: { changeLanguage, language } } = useTranslation();
return ( return (
<> <>

View File

@ -1,7 +1,5 @@
import { atom, useRecoilState, useSetRecoilState } from "recoil"; import { atom, useRecoilState, useSetRecoilState } from "recoil";
import { useEffect } from "react"; import { useEffect } from "react";
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faSun, faMoon } from '@fortawesome/free-solid-svg-icons'
export type Theme = "light" | "dark"; export type Theme = "light" | "dark";

View File

@ -1,5 +1,5 @@
import i18n from "i18next"; import i18n from "i18next";
import { useTranslation, initReactI18next } from "react-i18next"; import { initReactI18next } from "react-i18next";
import ja from './locales/ja.json' import ja from './locales/ja.json'
import en from './locales/en.json' import en from './locales/en.json'
import zhCN from './locales/zh-cn.json' import zhCN from './locales/zh-cn.json'