change == to ===
This commit is contained in:
parent
34e971cd7f
commit
d8bc31847a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue