diff --git a/features/all-positions/AllPositions.tsx b/features/all-positions/AllPositions.tsx index 0845cfc5..10ef1f25 100644 --- a/features/all-positions/AllPositions.tsx +++ b/features/all-positions/AllPositions.tsx @@ -38,13 +38,11 @@ const AllPositions = () => { if (tokenSymbol === null || emp === null) { return ( - - - - Please first select an EMP from the dropdown above. - - - + + + Please first connect and select an EMP from the dropdown above. + + ); } @@ -69,31 +67,35 @@ const AllPositions = () => { }; return ( - + - - Estimated price of{" "} - {latestPrice ? Number(latestPrice).toFixed(4) : "N/A"} for{" "} - {priceId ? utils.parseBytes32String(priceId) : "N/A"} sourced from{" "} - + Estimated price of{" "} + {latestPrice ? Number(latestPrice).toFixed(4) : "N/A"} for{" "} + {priceId ? utils.parseBytes32String(priceId) : "N/A"} sourced from{" "} Coinbase Pro. - + {activeSponsors && ( - Sponsor - Collateral ({collSymbol}) + + Sponsor + + + Collateral ({collSymbol}) + + + Synthetics ({tokenSymbol}) + - Synthetics ({tokenSymbol}) + Collateral Ratio - Collateral Ratio @@ -131,7 +133,7 @@ const AllPositions = () => { )} - + ); }; diff --git a/features/contract-state/Totals.tsx b/features/contract-state/Totals.tsx index d0261388..628250ae 100644 --- a/features/contract-state/Totals.tsx +++ b/features/contract-state/Totals.tsx @@ -62,9 +62,7 @@ const Totals = () => { {loading ? "N/A" : Number(totalCollateral).toLocaleString()} - - {collSymbol} - + {collSymbol}