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 6b7c6e9 commit e84bf5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions 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: Cases where it was possible to create duplicate custom tokens
- fixed: Message about overriding a built-in token contract, which is not possible to do
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 e84bf5f

Please sign in to comment.