Skip to content

Commit ed699d5

Browse files
committed
Commit2
1 parent c2509cb commit ed699d5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Language/language.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import brazilFlag from '../../../public/brazil-flag.svg';
88
import euaFlag from '../../../public/eua-flag.svg';
99
import { SelectContainer, OptionsContainer, Option, ContainerLanguage } from './styles';
1010

11-
const languageNames: Record<string, string> = {
12-
pt: 'PT-BR',
13-
en: 'EN-US',
11+
const languageNames: Record<string, JSX.Element> = {
12+
pt: <Image src={brazilFlag} alt='PT-BR' width={24} height={24} />,
13+
en: <Image src={euaFlag} alt='EN-US' width={24} height={24} />,
1414
};
1515

1616
export const Language: React.FC = () => {

0 commit comments

Comments
 (0)