From 78a55b2a5e6cae80d5f8d239cee4c1ec16b3b396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ula=C5=9F=20Bayraktar?= Date: Fri, 5 Apr 2024 06:12:29 +0300 Subject: [PATCH] Update LanguageSelect.tsx --- frontend/src/components/site/LanguageSelect.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/site/LanguageSelect.tsx b/frontend/src/components/site/LanguageSelect.tsx index 58c5d6828..59a2a5792 100644 --- a/frontend/src/components/site/LanguageSelect.tsx +++ b/frontend/src/components/site/LanguageSelect.tsx @@ -70,8 +70,9 @@ const LanguageSelect = forwardRef(({ title }: Props, ref) => { } const getFlagImage = (locale) => { + if (locale === "pt-BR") locale = "pt-br"; return `/images/assets/${locale}.svg`; - }; +}; return ( <>