Skip to content

Commit

Permalink
[form-builder] Fix boolean passed to classname
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Oct 6, 2020
1 parent 31879d3 commit 81b595d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default class OptionsArrayInput extends React.PureComponent<OptionsArrayI
const checked = inArray(value, resolveValueWithLegacyOptionsSupport(option))
return (
<div
className={direction === 'vertical' && styles.itemVertical}
className={direction === 'vertical' ? styles.itemVertical : undefined}
key={option._key || index}
>
<Item
Expand Down

0 comments on commit 81b595d

Please sign in to comment.