Skip to content

Commit

Permalink
do not initialize icon as null
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Perry authored and Seth Perry committed Mar 25, 2019
1 parent c010a8d commit 2e76a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/demos/chips/ChipsArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function ChipsArray() {
return (
<Paper className={classes.root}>
{chipData.map(data => {
let icon = null;
let icon;

if (data.label === 'React') {
icon = <TagFacesIcon />;
Expand Down

0 comments on commit 2e76a5d

Please sign in to comment.