{
])
).flat()
const poolPrices = await requestPoolPrices(assetsWithPoolIds, pythAndOraclePrices)
-
return [...pythAndOraclePrices, ...poolPrices, usdPrice]
} catch (ex) {
console.error(ex)
diff --git a/src/components/Account/AccountDetails/index.tsx b/src/components/Account/AccountDetails/index.tsx
index d49f821a..00b92fcb 100644
--- a/src/components/Account/AccountDetails/index.tsx
+++ b/src/components/Account/AccountDetails/index.tsx
@@ -114,7 +114,7 @@ function AccountDetails(props: Props) {
-
+
Net worth
diff --git a/src/components/Wallet/WalletBridges.tsx b/src/components/Wallet/WalletBridges.tsx
index f4a406bd..3352ad4e 100644
--- a/src/components/Wallet/WalletBridges.tsx
+++ b/src/components/Wallet/WalletBridges.tsx
@@ -87,7 +87,7 @@ export default function WalletBridges() {
))}
- {IS_TESTNET && (
+ {ENV.NETWORK !== 'mainnet' && (
Need Testnet Funds?
@@ -95,7 +95,11 @@ export default function WalletBridges() {
diff --git a/src/components/Wallet/WalletConnectedButton.tsx b/src/components/Wallet/WalletConnectedButton.tsx
index 4cb3f012..6d1b7fae 100644
--- a/src/components/Wallet/WalletConnectedButton.tsx
+++ b/src/components/Wallet/WalletConnectedButton.tsx
@@ -13,7 +13,7 @@ import Overlay from 'components/Overlay'
import Text from 'components/Text'
import RecentTransactions from 'components/Wallet/RecentTransactions'
import { CHAINS } from 'constants/chains'
-import { IS_TESTNET } from 'constants/env'
+import { ENV } from 'constants/env'
import { BN_ZERO } from 'constants/math'
import useCurrentWallet from 'hooks/useCurrentWallet'
import useToggle from 'hooks/useToggle'
@@ -80,7 +80,7 @@ export default function WalletConnectedButton() {
return (
- {IS_TESTNET && (
+ {ENV.NETWORK !== 'mainnet' && (