1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-02-27 16:30:36 +00:00

fix: != -> !==

This commit is contained in:
Richard Ramos 2019-08-14 11:37:38 -04:00 committed by Andy Tudhope
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 })
}