From cc5e0496095d71821ffdf8d267b79a4f3978ef15 Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Tue, 3 Mar 2026 11:32:54 +0100 Subject: [PATCH 1/2] add tabular-nums for quote reshresh counter to avoid layour shift --- apps/frontend/src/components/QuoteRefreshProgress/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/components/QuoteRefreshProgress/index.tsx b/apps/frontend/src/components/QuoteRefreshProgress/index.tsx index 5b962c78d..fe9dae378 100644 --- a/apps/frontend/src/components/QuoteRefreshProgress/index.tsx +++ b/apps/frontend/src/components/QuoteRefreshProgress/index.tsx @@ -40,7 +40,7 @@ export function QuoteRefreshProgress() {
From 08cbf25fdfb815533b9ff9d8cf81929a3bedd41b Mon Sep 17 00:00:00 2001 From: Kacper Szarkiewicz Date: Tue, 3 Mar 2026 14:14:54 +0100 Subject: [PATCH 2/2] fix setSelectedNetwork early call in useTokenSelection --- .../TokenSelectionList/hooks/useTokenSelection.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/frontend/src/components/TokenSelection/TokenSelectionList/hooks/useTokenSelection.tsx b/apps/frontend/src/components/TokenSelection/TokenSelectionList/hooks/useTokenSelection.tsx index 75b1be479..7393d9845 100644 --- a/apps/frontend/src/components/TokenSelection/TokenSelectionList/hooks/useTokenSelection.tsx +++ b/apps/frontend/src/components/TokenSelection/TokenSelectionList/hooks/useTokenSelection.tsx @@ -35,10 +35,6 @@ export const useTokenSelection = () => { return; } - if (!isFiatToken) { - await setSelectedNetwork(tokenDefinition.network); - } - if (rampDirection === RampDirection.BUY) { if (tokenSelectModalType === "from") { setFiatToken(token as FiatToken); @@ -52,6 +48,11 @@ export const useTokenSelection = () => { setFiatToken(token as FiatToken); } } + + if (!isFiatToken) { + await setSelectedNetwork(tokenDefinition.network); + } + closeTokenSelectModal(); };