mirror of
https://github.com/dap-ps/discover.git
synced 2025-02-28 00:40:29 +00:00
fix: != -> !==
This commit is contained in:
parent
5e13d419a7
commit
b050034338
@ -31,7 +31,7 @@ class Withdraw extends React.Component {
|
|||||||
if (
|
if (
|
||||||
(!prevProps.withdrawMax && this.props.withdrawMax) ||
|
(!prevProps.withdrawMax && this.props.withdrawMax) ||
|
||||||
(this.props.withdrawMax &&
|
(this.props.withdrawMax &&
|
||||||
prevProps.withdrawMax != this.props.withdrawMax)
|
prevProps.withdrawMax !== this.props.withdrawMax)
|
||||||
) {
|
) {
|
||||||
this.setState({ withdrawAmount: this.props.withdrawMax })
|
this.setState({ withdrawAmount: this.props.withdrawMax })
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user