Skip to content

Commit

Permalink
chore: fix invalid && usage (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
scffs authored Sep 6, 2024
1 parent 88600e2 commit 3d8f2a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const SubjectGroup: FC<ISubjectGroup> = ({
<Header
style={{ alignItems: 'center' }}
mode='tertiary'
aside={`${studentName}${year}` && `, ${year}`}
aside={studentName + (year ? `, ${year}` : '')}
>
{semesterKey}
</Header>
Expand Down

0 comments on commit 3d8f2a9

Please sign in to comment.