Skip to content

Commit

Permalink
fix: sonarcube issue
Browse files Browse the repository at this point in the history
  • Loading branch information
janrembold committed Mar 6, 2024
1 parent 4de682b commit d9e3ae4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/agencyRadioSelect/AgencyLanguages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ export const AgencyLanguages = ({ agencyId }: AgencyLanguagesProps) => {
setIsAllShown(true);
}}
tabIndex={0}
onKeyDown={(event) => {
onKeyUp={(event) => {
if (event.key === 'Enter') {
setIsAllShown(true);
}
}}
role="button"
>
{`+${difference} ${translate(
'registration.agencySelection.languages.more'
Expand Down

0 comments on commit d9e3ae4

Please sign in to comment.