Skip to content

Commit

Permalink
fix: remove error toasts
Browse files Browse the repository at this point in the history
  • Loading branch information
siandreev committed Dec 17, 2024
1 parent 8d82d2c commit 7a3db17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/web-swap-widget/src/components/SwapWidgetPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { SwapWidgetFooter } from './SwapWidgetFooter';
import { SwapWidgetTxSentNotification } from './SwapWidgetTxSent';
import { useDisclosure } from '@tonkeeper/uikit/dist/hooks/useDisclosure';
import { useToast } from '@tonkeeper/uikit/dist/hooks/useNotification';
import { toErrorMessage } from '@tonkeeper/uikit/dist/libs/common';

const MainFormWrapper = styled.div`
height: 100%;
Expand Down Expand Up @@ -107,7 +106,6 @@ export const SwapWidgetPage = () => {
onOpen();
} catch (e) {
console.error(e);
notifyError(toErrorMessage(e));
}
};

Expand Down

0 comments on commit 7a3db17

Please sign in to comment.