Skip to content

Commit

Permalink
Merge pull request GeekyAnts#2842 from williampaulo/item-icon-fix
Browse files Browse the repository at this point in the history
Fix: [ITEM] Floating label input with icon bug GeekyAnts#2835
  • Loading branch information
shivrajkumar authored Dec 21, 2020
2 parents 6f13d84 + 19ec839 commit e2ed837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class Item extends Component {
) {
isIcon = true;
newChildren.push(
<Icon key={[i]} {...this.props.children[i].props} />
<Icon key={i} {...this.props.children[i].props} />
);
}

Expand Down

0 comments on commit e2ed837

Please sign in to comment.