Skip to content

Commit

Permalink
annamikmorozova#1 icon will show even if only one is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
marcs7 committed Aug 14, 2021
1 parent 7cb8463 commit ebe9e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SimpleReactFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class SimpleReactFooter extends React.Component {
</div>
))}
</div>
{this.props.facebook != undefined && this.props.linkedin != undefined && this.props.instagram != undefined && this.props.twitter != undefined && this.props.pinterest != undefined && this.props.youtube != undefined ?
{this.props.facebook != undefined || this.props.linkedin != undefined || this.props.instagram != undefined || this.props.twitter != undefined || this.props.pinterest != undefined || this.props.youtube != undefined ?
<div className="social-media-col">
<div style={{ color: this.props.fontColor || "black" }} className="stay-connected-title">Stay connected</div>
<div className="social-media">
Expand Down

0 comments on commit ebe9e09

Please sign in to comment.