This commit is contained in:
JimmFly
2022-08-30 11:16:59 +08:00
parent f475599f2f
commit 6b373642e7
-15
View File
@@ -24,18 +24,3 @@ export const options = [
] as const;
export { i18next };
// import { useTranslation } from 'react-i18next';
// import { options } from './i18n';
// <Select defaultValue="en" onChange={changeLanguage}>
// {options.map(option => (
// <Option key={option.value} value={option.value}>
// {option.text}
// </Option>
// ))}
// </Select>
// const { t, i18n } = useTranslation();
// const changeLanguage = (event: any) => {
// i18n.changeLanguage(event);
// };