Skip to content

Commit

Permalink
Cleanup empty className
Browse files Browse the repository at this point in the history
  • Loading branch information
gkovats committed Nov 19, 2023
1 parent c27c820 commit 3661205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function Table({
{attendance.map(({ icon, text, type, noTranslate }, index) => (
<span css={tableChicletCss(type)} key={index}>
<Icon icon={icon} size={18} />
{text && <span className={(true === noTranslate) ? 'notranslate' : ''}>{text}</span>}
{text && <span className={noTranslate ? 'notranslate' : undefined}>{text}</span>}
</span>
))}
</div>
Expand Down

0 comments on commit 3661205

Please sign in to comment.