From 84f6f326b4bc2ad30a7a05fb5973726ae565138e Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 7 Nov 2024 13:56:49 +1000 Subject: [PATCH] fix: Fix reset meson fees --- .../src/modules/transfer/hooks/useLoadingBridgeFees.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/canonical-bridge-widget/src/modules/transfer/hooks/useLoadingBridgeFees.ts b/packages/canonical-bridge-widget/src/modules/transfer/hooks/useLoadingBridgeFees.ts index 7fc828fe..e8d21602 100644 --- a/packages/canonical-bridge-widget/src/modules/transfer/hooks/useLoadingBridgeFees.ts +++ b/packages/canonical-bridge-widget/src/modules/transfer/hooks/useLoadingBridgeFees.ts @@ -164,6 +164,7 @@ export const useLoadingBridgeFees = () => { if (mesonEst.status === 'fulfilled' && mesonEst?.value) { if (mesonEst?.value?.error) { const error = mesonEst?.value?.error; + dispatch(setRouteFees({ meson: undefined })); if (error.code === 21 && error.message === 'amount-over-limit') { dispatch(setEstimatedAmount({ meson: 'error' })); dispatch(