Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed May 10, 2023
1 parent 44ddb62 commit 869261c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/InteractiveForm/SelectFaculty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const FacultyInfo = ({ faculty }: { faculty: Faculty }) => {
(info) => info.code === faculty?.code
)

if (!facultyInfo.info[language as keyof Locales]) return null
if (!facultyInfo?.info[language as keyof Locales]) return null

return (
<Box sx={cardStyles.content}>
Expand Down

0 comments on commit 869261c

Please sign in to comment.