We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba1e9d5 commit ec99f0aCopy full SHA for ec99f0a
2 files changed
CHANGELOG.md
@@ -2,6 +2,7 @@
2
3
## Unreleased
4
5
+- changed: Remove whitespaces from custom token contract address input
6
- fixed: Clear previous swap errors when new amounts are entered or swap assets are changed in `SwapCreateScene`
7
- fixed: Cases where it was possible to create duplicate custom tokens
8
- fixed: Message about overriding a built-in token contract, which is not possible to do
src/components/scenes/EditTokenScene.tsx
@@ -224,7 +224,8 @@ function EditTokenSceneComponent(props: Props) {
224
onChangeText={value =>
225
setLocation(location => {
226
const out = new Map(location)
227
- out.set(item.key, value)
+ out.set(item.key, value.replace(/[\n\s]/g, ''))
228
+ console.debug(out)
229
return out
230
})
231
}
0 commit comments