Skip to content

Commit

Permalink
Remove whitespaces from network location input
Browse files Browse the repository at this point in the history
Common paste issue
  • Loading branch information
Jon-edge committed Sep 23, 2024
1 parent 5cc8eae commit 4765d7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- added: Buy conversion tracking for Moonpay
- added: Error tracking for failure to report conversions to referral server
- changed: Remove whitespaces from custom token contract address input
- fixed: Clear previous swap errors when new amounts are entered or swap assets are changed in `SwapCreateScene`
- fixed: AddressTile2 touchable area states
- fixed: Cases where it was possible to create duplicate custom tokens
Expand All @@ -21,8 +22,9 @@
- added: Sell with Moonpay
- changed: Added Iraq to list of Visa/MC supported countries
- changed: Display Asset Status cards in the same style as Promo Cards
- changed: Updated ACH supported US stat- fixed: Inconsistent content of address hint dropdown between iOS and Android in `AddressFormScene`
- changed: Updated ACH supported US states
- changed: Use new platform-specific `assetStatsCards2` info server data
- fixed: Inconsistent content of address hint dropdown between iOS and Android in `AddressFormScene`
- fixed: Crash on HomeScene when logging while in airplane mode
- fixed: Inconsistent corners in `SideMenu`
- fixed: "Most Recent Wallets" do not show those chosen through `fiatPlugin`
Expand Down
2 changes: 1 addition & 1 deletion src/components/scenes/EditTokenScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function EditTokenSceneComponent(props: Props) {
onChangeText={value =>
setLocation(location => {
const out = new Map(location)
out.set(item.key, value)
out.set(item.key, value.replace(/\s/g, ''))
return out
})
}
Expand Down

0 comments on commit 4765d7d

Please sign in to comment.