Skip to content

Commit

Permalink
Update LanguageSelect.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ulasbayraktar authored Apr 5, 2024
1 parent 73330ec commit 78a55b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/site/LanguageSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<>
Expand Down

0 comments on commit 78a55b2

Please sign in to comment.