Skip to content

Commit

Permalink
Merge pull request #1746 from shubhamkmr04/shubham/Send-view-bug
Browse files Browse the repository at this point in the history
Send: Fix - Reset isValid state during input validation
  • Loading branch information
kaloudis committed Oct 10, 2023
2 parents 72627b3 + b3e998c commit 7b1c4f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion views/Send.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ export default class Send extends React.Component<SendProps, SendState> {
validateAddress = (text: string) => {
const { navigation } = this.props;
this.setState({
loading: true
loading: true,
isValid: true,
error_msg: ''
});
handleAnything(text, this.state.amount)
.then((response) => {
Expand Down

0 comments on commit 7b1c4f1

Please sign in to comment.