Skip to content

Commit

Permalink
fix props
Browse files Browse the repository at this point in the history
  • Loading branch information
kadencewp committed Jun 27, 2024
1 parent 30ffe13 commit 9ec2b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/components/src/icons/icon-render/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class IconRender extends Component {
if( name.startsWith('kb-custom') && isLoading ) {
return <Spinner />;
} else if ( name.startsWith('kb-custom') && customSvg !== '' ) {
return <GenIcon name={name} icon={ customSvg } {...props} />;
return <GenIcon name={name} icon={ customSvg } {...this.props} />;
}
return <GenIcon name={ name } icon={ iconOptions[ name ] } { ...this.props } />;
}
Expand Down

0 comments on commit 9ec2b70

Please sign in to comment.