From 8c2d88fdce387732d0bdcc25a39dc0a1ecbf2d00 Mon Sep 17 00:00:00 2001 From: jsun969 Date: Mon, 7 Oct 2024 14:34:23 +1030 Subject: [PATCH] feat: remove flag for change language emoji --- src/components/Header.tsx | 8 +------- src/index.css | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 222a2d8..567c88f 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -17,8 +17,6 @@ import { LANGUAGES } from '../constants/languages'; import { useDarkMode } from '../helpers/dark-mode'; import { useHelpModal } from '../helpers/help-modal'; -const DEFAULT_LANGUAGE = LANGUAGES[0]; - const HEADER_BUTTON_PROPS = { size: 'sm', isIconOnly: true, @@ -29,8 +27,6 @@ const HEADER_BUTTON_PROPS = { export const Header = () => { const { t, i18n } = useTranslation(); - const currentLanguage = - LANGUAGES.find((l) => l.code === i18n.language) ?? DEFAULT_LANGUAGE; const openHelpModal = useHelpModal((s) => s.open); @@ -87,9 +83,7 @@ export const Header = () => { >
- +
diff --git a/src/index.css b/src/index.css index a155266..977abe4 100644 --- a/src/index.css +++ b/src/index.css @@ -4,6 +4,6 @@ @tailwind components; @tailwind utilities; -body { +* { font-family: 'Outfit Variable', sans-serif; }