Skip to content

Commit

Permalink
fixed language in hsm
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Jan 15, 2025
1 parent 4976ab5 commit aeb9662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/HSM/HSM.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const HSM = () => {

const getLanguageId = (value: any) => {
let result: any;
const selected = languageOptions.find((option: any) => option.label === value);
const selected = languageOptions.find((option: any) => option.label === value?.label);

Check warning on line 160 in src/containers/HSM/HSM.tsx

View check run for this annotation

Codecov / codecov/patch

src/containers/HSM/HSM.tsx#L160

Added line #L160 was not covered by tests
result = selected;

if (result) setLanguageId(result);
Expand Down

0 comments on commit aeb9662

Please sign in to comment.