change == to ===

This commit is contained in:
Thomas Zarebczan 2018-03-15 18:00:11 -04:00 committed by GitHub
parent 34e971cd7f
commit d8bc31847a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,12 +57,12 @@ class ChannelSection extends React.PureComponent {
return;
}
if (newChannelBid == 0) {
if (newChannelBid === 0) {
this.refs.newChannelName.showError(__('Bid value must be greater than 0.'));
return;
}
if (newChannelBid == balance) {
if (newChannelBid === balance) {
this.refs.newChannelName.showError(__('Please decrease your bid to account for transaction fees.'));
return;