Skip to content

Commit

Permalink
Merge pull request #99 from bnb-chain/meson/otherChains
Browse files Browse the repository at this point in the history
fix: Fix reset meson fees
  • Loading branch information
Halibao-Lala authored Nov 7, 2024
2 parents 65736a7 + 84f6f32 commit 2beb955
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,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(
Expand Down

0 comments on commit 2beb955

Please sign in to comment.