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