Skip to content

Commit

Permalink
web: Please CSpell
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Apr 16, 2024
1 parent 196a622 commit 17f45a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/core/Field.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ const SwitchField = ({ isChecked = false, highlightContent = false, ...props })
const ExpandableField = ({ label, isExpanded, ...props }) => {
const iconName = isExpanded ? "collapse_all" : "expand_all";
const className = isExpanded ? "expanded" : "collapsed";
const iconizedLabel = <>{label} <Icon name={iconName} size="xs" /></>;
const labelWithIcon = <>{label} <Icon name={iconName} size="xs" /></>;

return <Field {...props} label={iconizedLabel} className={className} />;
return <Field {...props} label={labelWithIcon} className={className} />;
};

export default Field;
Expand Down

0 comments on commit 17f45a0

Please sign in to comment.