diff --git a/packages/extension/src/ui/action/App.vue b/packages/extension/src/ui/action/App.vue index 1d1e62129..cc0563845 100644 --- a/packages/extension/src/ui/action/App.vue +++ b/packages/extension/src/ui/action/App.vue @@ -83,8 +83,8 @@ v-if="addNetworkShow" @close:popup="addNetworkShow = !addNetworkShow" @update:pin-network="setIsPinnedNetwork" + @update:testNetworkToggle="setIsToggledTestNetwork" /> - { await networksState.setNetworkStatus(network, isPinned); await setActiveNetworks(); }; + +const setIsToggledTestNetwork = async () => { + await setActiveNetworks(); +}; diff --git a/packages/extension/src/ui/action/icons/actions/pin.vue b/packages/extension/src/ui/action/icons/actions/pin.vue index d84887096..11232844d 100644 --- a/packages/extension/src/ui/action/icons/actions/pin.vue +++ b/packages/extension/src/ui/action/icons/actions/pin.vue @@ -1,7 +1,7 @@