Add emoji prop change check to Emoji component

release
Scott Dodge 2017-01-17 23:58:43 -06:00
parent 7e2adc60a2
commit 4c6f8c54c1
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ export default class Emoji extends React.Component {
return (
this.hasSkinVariations && nextProps.skin != this.props.skin ||
nextProps.size != this.props.size ||
nextProps.set != this.props.set
nextProps.set != this.props.set ||
nextProps.emoji != this.props.emoji
)
}