⚡ trim new relay address string to fix copy and paste domain name spaces and tabs #537
This commit is contained in:
parent
95efa43325
commit
44d597a118
@ -161,7 +161,7 @@ export default class Followings extends Mixins(RelayMixin) {
|
|||||||
await this.$apollo.mutate({
|
await this.$apollo.mutate({
|
||||||
mutation: ADD_RELAY,
|
mutation: ADD_RELAY,
|
||||||
variables: {
|
variables: {
|
||||||
address: this.newRelayAddress,
|
address: this.newRelayAddress.trim(), // trim to fix copy and paste domain name spaces and tabs
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
await this.$apollo.queries.relayFollowings.refetch();
|
await this.$apollo.queries.relayFollowings.refetch();
|
||||||
|
Loading…
Reference in New Issue
Block a user