From afb8c31d9a022033cee14ff9a951f87cb992636f Mon Sep 17 00:00:00 2001 From: Cafe137 <77121044+Cafe137@users.noreply.github.com> Date: Tue, 5 Jul 2022 16:22:06 +0200 Subject: [PATCH] fix: refresh gift wallet after swap (#465) * fix: refresh gift wallet after swap * fix: also refresh wallet after transfer * chore: revert fund --- src/pages/top-up/Swap.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/top-up/Swap.tsx b/src/pages/top-up/Swap.tsx index 19c5fbea..ee454c44 100644 --- a/src/pages/top-up/Swap.tsx +++ b/src/pages/top-up/Swap.tsx @@ -107,6 +107,7 @@ export function Swap({ header }: Props): ReactElement { } catch (error) { enqueueSnackbar(`Failed to swap: ${error}`, { variant: 'error' }) } finally { + balance?.refresh() setLoading(false) } }