From 72ae102f0eb9d5bce910aedd0aabf92bdd336eed Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Tue, 24 Feb 2026 04:46:35 +0300 Subject: [PATCH] fix: add Sonner toast renderer for P2P trade notifications P2P modules (TradeModal, p2p-fiat) use Sonner toast but the Sonner Toaster component was not mounted in App.tsx. Only the shadcn Toaster was rendered, causing all P2P toast.error/success calls to be invisible. --- web/src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/App.tsx b/web/src/App.tsx index fec8e160..0a594c7d 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -12,6 +12,7 @@ import { ReferralProvider } from '@/contexts/ReferralContext'; import { ProtectedRoute } from '@/components/ProtectedRoute'; import { P2PLayout } from '@/components/p2p/P2PLayout'; import { Toaster } from '@/components/ui/toaster'; +import { Toaster as SonnerToaster } from '@/components/ui/sonner'; import { ErrorBoundary } from '@/components/ErrorBoundary'; import { initSentry } from '@/lib/sentry'; import './App.css'; @@ -232,6 +233,7 @@ function App() { + );