From b050034338f22189dc54f95edb9600645ef9ce0e Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 14 Aug 2019 11:37:38 -0400 Subject: [PATCH] fix: != -> !== --- src/modules/Withdraw/Withdraw.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Withdraw/Withdraw.jsx b/src/modules/Withdraw/Withdraw.jsx index 40dd700..2d9b3a0 100644 --- a/src/modules/Withdraw/Withdraw.jsx +++ b/src/modules/Withdraw/Withdraw.jsx @@ -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 }) }