Skip to content

Commit

Permalink
Add empty line before comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil-Vats committed Oct 5, 2023
1 parent 5b7f439 commit 3ba03d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/KYCWall/BaseKYCWall.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ class KYCWall extends React.Component {
this.setState({shouldShowAddPaymentMenu: false});
return;
}

// Use event target as fallback if anchorRef is null for safety
const targetElement = this.anchorRef.current || event.nativeEvent.target;
this.setState({transferBalanceButton: targetElement});
Expand Down

0 comments on commit 3ba03d1

Please sign in to comment.