summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-03-26 13:49:30 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-03-26 14:22:11 +0200
commited96cba45ecaf8656c854a22e1369c883dcf5394 (patch)
tree8972b94de1390031802c5a7efb253ea9c3bb2f85 /app/components
parent96c784d450e74786c993c87bf501b73c880fefc4 (diff)
downloadmullvadvpn-ed96cba45ecaf8656c854a22e1369c883dcf5394.tar.xz
mullvadvpn-ed96cba45ecaf8656c854a22e1369c883dcf5394.zip
changed cellbutton Null-check
Diffstat (limited to 'app/components')
-rw-r--r--app/components/styled/CellButton.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/components/styled/CellButton.js b/app/components/styled/CellButton.js
index 196afb574a..400a7ac6de 100644
--- a/app/components/styled/CellButton.js
+++ b/app/components/styled/CellButton.js
@@ -115,7 +115,7 @@ export default class CellButton extends Component<CellButtonProps, State> {
}
return React.cloneElement(node, updatedProps);
- } else if (node != null){
+ } else if (node){
return <Label style={[styles.label, this.textStyle()]}>{children}</Label>;
}
})