Skip to content

Commit

Permalink
Issue #PS-000 feat: Added subjects
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Aug 16, 2024
1 parent 64b7c47 commit 98d46c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/user-profile/[userId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ const TeacherProfile: React.FC<TeacherProfileProp> = ({
const option = teachSubjectsField?.options?.find(
(opt: any) => opt?.value === subject
);
return option ? option.label : subject;
return option ? t(`FORM.${option?.label}`, option?.label) : subject;
};

//fields for view profile by order
Expand Down

0 comments on commit 98d46c0

Please sign in to comment.