From ebe9e096f2beab2362a79c442cc427381abd971c Mon Sep 17 00:00:00 2001 From: MarcS7 Date: Sat, 14 Aug 2021 12:31:18 +0200 Subject: [PATCH] #1 icon will show even if only one is specified --- src/SimpleReactFooter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SimpleReactFooter.js b/src/SimpleReactFooter.js index 658eee1..486690d 100644 --- a/src/SimpleReactFooter.js +++ b/src/SimpleReactFooter.js @@ -33,7 +33,7 @@ class SimpleReactFooter extends React.Component { ))} - {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 ?
Stay connected