Skip to content

Commit

Permalink
fix: toggleAmountType handle broken (#6412)
Browse files Browse the repository at this point in the history
### Description
As per the title.

### Test plan
Works

### Related issues
ENG-170

### Backwards compatibility
Yes

### Network scalability

If a new NetworkId and/or Network are added in the future, the changes
in this PR will:

- [x] Continue to work without code changes, OR trigger a compilation
error (guaranteeing we find it when a new network is added)
  • Loading branch information
sviderock authored and jeanregisser committed Jan 14, 2025
1 parent 540306e commit 61ca7ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/TokenEnterAmount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,9 @@ export default function TokenEnterAmount({
<>
{toggleAmountType && (
<Touchable
onPress={toggleAmountType}
onPress={() => {
toggleAmountType()
}}
style={styles.swapArrowContainer}
testID={`${testID}/SwitchTokens`}
hitSlop={variables.iconHitslop}
Expand Down

0 comments on commit 61ca7ca

Please sign in to comment.