1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-02 03:25:53 +01:00

chore: Consolidate i18n import in LanguageList component (#8201)

This commit is contained in:
DDDDD12138 2024-07-04 23:34:16 +08:00 committed by GitHub
parent 2e1f08c796
commit d9258a736b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,8 +1,7 @@
import { useSetAtom } from "jotai";
import React from "react";
import { appLangCodeAtom } from "../App";
import { useI18n } from "../../packages/excalidraw/i18n";
import { languages } from "../../packages/excalidraw/i18n";
import { useI18n, languages } from "../../packages/excalidraw/i18n";
export const LanguageList = ({ style }: { style?: React.CSSProperties }) => {
const { t, langCode } = useI18n();