diff --git a/components/ConnectWalletButton.tsx b/components/ConnectWalletButton.tsx
index e589f51f..cabe03bf 100644
--- a/components/ConnectWalletButton.tsx
+++ b/components/ConnectWalletButton.tsx
@@ -100,9 +100,9 @@ const ConnectWalletButton = () => {
>
-
+
{t('connect')}
-
+
{WALLET_PROVIDERS.find((p) => p.url === selectedWallet)?.name}
diff --git a/components/MarketPosition.tsx b/components/MarketPosition.tsx
index c3a175f8..07153681 100644
--- a/components/MarketPosition.tsx
+++ b/components/MarketPosition.tsx
@@ -197,8 +197,10 @@ export default function MarketPosition() {
{isLoading ? (
- ) : (
+ ) : notionalSize ? (
formatUsdValue(Math.abs(notionalSize))
+ ) : (
+ '$0'
)}
@@ -207,7 +209,13 @@ export default function MarketPosition() {
{t('average-entry')}
- {isLoading ? : formatUsdValue(avgEntryPrice)}
+ {isLoading ? (
+
+ ) : avgEntryPrice ? (
+ formatUsdValue(avgEntryPrice)
+ ) : (
+ '$0'
+ )}
@@ -215,7 +223,13 @@ export default function MarketPosition() {
{t('break-even')}
- {isLoading ? : formatUsdValue(breakEvenPrice)}
+ {isLoading ? (
+
+ ) : breakEvenPrice ? (
+ formatUsdValue(breakEvenPrice)
+ ) : (
+ '$0'
+ )}
diff --git a/components/WalletSelect.tsx b/components/WalletSelect.tsx
index 193da768..00358cdd 100644
--- a/components/WalletSelect.tsx
+++ b/components/WalletSelect.tsx
@@ -42,7 +42,7 @@ export default function WalletSelect({ isPrimary = false }) {
)}
-
+
{WALLET_PROVIDERS.map(({ name, url, icon }) => (