Hide network menu when a network is clicked
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
This commit is contained in:
parent
e0b4c81b77
commit
668acb5cfa
@ -49,6 +49,7 @@ const closeMenu = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const networkChange = async (network: NetworkEnum) => {
|
const networkChange = async (network: NetworkEnum) => {
|
||||||
|
currencyMenuOpenToggle.value = false;
|
||||||
const change = await requestNetworkChange(network);
|
const change = await requestNetworkChange(network);
|
||||||
if (change) etherStore.setNetworkName(network);
|
if (change) etherStore.setNetworkName(network);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user