From 5aef9e6d069ee7a3a326cca6400504a9334d4f06 Mon Sep 17 00:00:00 2001 From: gozzy Date: Tue, 31 Jan 2023 19:35:39 +0000 Subject: [PATCH] fix: #11 --- components/Settings.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Settings.vue b/components/Settings.vue index 476b5e9..a4a8889 100644 --- a/components/Settings.vue +++ b/components/Settings.vue @@ -187,7 +187,9 @@ export default { }, onSave() { this.SAVE_RPC({ ...this.rpc, netId: this.netId }) - this.SAVE_RPC({ ...this.ethRpc, netId: 1 }) + if (this.netId !== 1) { + this.SAVE_RPC({ ...this.ethRpc, netId: 1 }) + } this.$emit('close') }, onCancel() {