Skip to content

Commit

Permalink
resolved undefined class
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrillaz committed Oct 29, 2020
1 parent dbe74e5 commit fec6d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/blockEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const blockEdit = compose(

const align = alignIcon ? 'has-left-icon' : 'has-right-icon';

const iconName = useIcon && icon !== '' ? `has-icon-${icon}` : undefined;
const iconName = useIcon && icon !== '' ? `has-icon-${icon}` : '';

const className = align + ' ' + iconName;

Expand Down

0 comments on commit fec6d82

Please sign in to comment.