Skip to content

Commit

Permalink
Fix Invalid prop name of value ... supplied to Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed May 16, 2022
1 parent 1933130 commit 86a5203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/manage/Blocks/Accordion/AccordionEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default (props) => {
})}
>
{accordionConfig.semanticIcon ? (
<Icon name={accordionConfig.semanticIcon} />
<Icon className={accordionConfig.semanticIcon} />
) : isExclusive(index) ? (
<VoltoIcon
name={
Expand Down
2 changes: 1 addition & 1 deletion src/components/manage/Blocks/Accordion/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const View = (props) => {
})}
>
{accordionConfig.semanticIcon ? (
<Icon name={accordionConfig.semanticIcon} />
<Icon className={accordionConfig.semanticIcon} />
) : isExclusive(index) ? (
<VoltoIcon
name={
Expand Down

0 comments on commit 86a5203

Please sign in to comment.