diff --git a/apps/frontend/src/components/DashboardView/AssetsTable/CollateralTable.tsx b/apps/frontend/src/components/DashboardView/AssetsTable/CollateralTable.tsx index 513c3428..dfeaf28f 100644 --- a/apps/frontend/src/components/DashboardView/AssetsTable/CollateralTable.tsx +++ b/apps/frontend/src/components/DashboardView/AssetsTable/CollateralTable.tsx @@ -269,7 +269,7 @@ const CollateralTableRow = ({ -
+
{getFormattedPrice( formatUnits(protocolBalance, decimals).times(price) @@ -279,7 +279,7 @@ const CollateralTableRow = ({
-
+
{ return ( <> -
+
Swaylend Leaderboard @@ -26,9 +26,9 @@ export const LeaderboardView = () => {
Your Rank
-
+
{user?.rank === 0 ? ( - Unranked + Unranked ) : ( user?.rank )} @@ -36,17 +36,17 @@ export const LeaderboardView = () => {
Your Points
-
+
{user ? user.points : '0'}
))} -
+
Top Contributors
-
+
Points are updated every 24 hours
@@ -75,7 +75,15 @@ export const LeaderboardView = () => { {user.rank} - {user.address} + {`${user.address.slice( + 0, + 6 + )}...${user.address.slice(-4)}`} + {`${user.address.slice( + 0, + 14 + )}...${user.address.slice(-14)}`} + {user.address} {user.points} @@ -89,9 +97,9 @@ export const LeaderboardView = () => {
-
+ {/*
This page is not supported on this screen size. -
+
*/} ); }; diff --git a/apps/frontend/src/components/Providers/FuelProviderWrapper.tsx b/apps/frontend/src/components/Providers/FuelProviderWrapper.tsx index ca83922f..3a9df643 100644 --- a/apps/frontend/src/components/Providers/FuelProviderWrapper.tsx +++ b/apps/frontend/src/components/Providers/FuelProviderWrapper.tsx @@ -80,9 +80,6 @@ const customDefaultConnectors = (): Array => { const provider = Provider.create(appConfig.client.fuelNodeUrl); const connectors: Array = [ new FueletWalletConnector(), - ...(!isMobile(navigator.userAgent) - ? [new FuelWalletConnector(), new BakoSafeConnector()] - : []), new WalletConnectConnector({ projectId: appConfig.client.walletConnectProjectId, wagmiConfig: wagmiConfig, @@ -100,6 +97,10 @@ const customDefaultConnectors = (): Array => { : CHAIN_IDS.fuel.mainnet, fuelProvider: provider, }), + // Add desktop only connectors + ...(!isMobile(navigator.userAgent) + ? [new FuelWalletConnector(), new BakoSafeConnector()] + : []), ]; if (appConfig.env === 'testnet') {