[Refactor] Move to src-ui/views and src-ui/logics structure.

This commit is contained in:
Sakamoto Shiina
2025-11-05 11:49:48 +09:00
parent 62f7c6d534
commit db820375f1
339 changed files with 19 additions and 19 deletions

View File

@@ -0,0 +1,14 @@
import { useEffect } from "react";
import { useI18n } from "@useI18n";
import { useAppearance } from "@logics_configs";
export const UiLanguageController = () => {
const { currentUiLanguage } = useAppearance();
const { i18n } = useI18n();
useEffect(() => {
i18n.changeLanguage(currentUiLanguage.data);
}, [currentUiLanguage.data]);
return null;
};