diff --git a/src/components-v2/common/NetworkGasWidget.tsx b/src/components-v2/common/NetworkGasWidget.tsx index 3581b58de..9d76937c5 100644 --- a/src/components-v2/common/NetworkGasWidget.tsx +++ b/src/components-v2/common/NetworkGasWidget.tsx @@ -30,7 +30,13 @@ const NetworkGasWidget = (): JSX.Element => { } = useContext(StoreContext); const ref = useRef(null); return ( - + ) => { + if ((e.target as HTMLElement)?.textContent?.toLowerCase() !== 'switch networks') { + closeNetworkOptions(); + } + }} + >
@@ -261,10 +260,10 @@ exports[`VaultListDisplay displays no vaults message 1`] = ` exports[`VaultListDisplay does not display deprecated vaults with no user balance 1`] = `
Badger Builder
- No vaults on - + No vaults on Ethereum .

Switch to another network to view more vaults.