Skip to content

Commit e38c470

Browse files
committed
Remove whitespaces from network location input
Common paste issue
1 parent 5cc8eae commit e38c470

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- added: Buy conversion tracking for Moonpay
66
- added: Error tracking for failure to report conversions to referral server
7+
- changed: Remove whitespaces from custom token contract address input
78
- fixed: Clear previous swap errors when new amounts are entered or swap assets are changed in `SwapCreateScene`
89
- fixed: AddressTile2 touchable area states
910
- fixed: Cases where it was possible to create duplicate custom tokens

src/components/scenes/EditTokenScene.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ function EditTokenSceneComponent(props: Props) {
224224
onChangeText={value =>
225225
setLocation(location => {
226226
const out = new Map(location)
227-
out.set(item.key, value)
227+
out.set(item.key, value.replace(/\s/g, ''))
228228
return out
229229
})
230230
}

0 commit comments

Comments
 (0)