diff --git a/src/views/components/common/Chip.tsx b/src/views/components/common/Chip.tsx index c8ff05afd..10d27e7ac 100644 --- a/src/views/components/common/Chip.tsx +++ b/src/views/components/common/Chip.tsx @@ -23,6 +23,8 @@ interface Props { * @returns */ export function Chip({ label }: React.PropsWithChildren): JSX.Element { + const longFlagName = Object.entries(flagMap).find(([full, short]) => short === label)?.[0] ?? label; + return ( ): JSX.Element { style={{ backgroundColor: '#FFD600', }} - title={Object.entries(flagMap).find(([full, short]) => short === label)?.[0] ?? label} + title={`${longFlagName} flag`} > {label}