We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a9b04 commit e13717fCopy full SHA for e13717f
1 file changed
app/components/UI/Bridge/Views/BridgeView/index.tsx
@@ -364,7 +364,9 @@ const BridgeViewContent = ({ latestSourceBalance }: BridgeViewContentProps) => {
364
365
const handleFlipTokensPress = useCallback(() => {
366
resetToTokenMode();
367
- handleSwitchTokens(destTokenAmount)();
+ handleSwitchTokens(destTokenAmount)().catch((error) => {
368
+ console.error('Error switching bridge tokens:', error);
369
+ });
370
}, [destTokenAmount, handleSwitchTokens, resetToTokenMode]);
371
372
const handleDestTokenPress = () =>
0 commit comments