From d9258a736b71451193672f478ec62c0b6d57b2dc Mon Sep 17 00:00:00 2001 From: DDDDD12138 <43703884+DDDDD12138@users.noreply.github.com> Date: Thu, 4 Jul 2024 23:34:16 +0800 Subject: [PATCH] chore: Consolidate i18n import in LanguageList component (#8201) --- excalidraw-app/components/LanguageList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/excalidraw-app/components/LanguageList.tsx b/excalidraw-app/components/LanguageList.tsx index 8370d2f3e..e4065f589 100644 --- a/excalidraw-app/components/LanguageList.tsx +++ b/excalidraw-app/components/LanguageList.tsx @@ -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();