diff --git a/.eslintignore b/.eslintignore index 384cd66..1c7d503 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,3 +4,4 @@ Example/android/ ios/ Example/ios/ screenShoots/ +Example diff --git a/index.js b/index.js index 7e8c563..fff2c1e 100644 --- a/index.js +++ b/index.js @@ -171,8 +171,8 @@ export default class Barcode extends PureComponent { - if (typeof(this.props.text) != "undefined") { - {this.props.text} + if (typeof(this.props.text) != 'undefined') { + {this.props.text} } );