Adopt the shared v2 Toaster from the auth branch

Replace the minimal placeholder Toaster with the richer implementation
already built on compliance-portal-auth (per-type icons plus warning and
info variants, and its stories). Both branches now share the exact same
component and app-root wiring, so they converge instead of colliding
when they merge. Align App.tsx provider ordering to match.

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-07-15 18:34:20 +02:00
parent 158861ccdd
commit e546f24148
4 changed files with 166 additions and 30 deletions

View File

@@ -27,11 +27,11 @@ import { router } from "#/routes";
export function App() {
return (
<RelayProvider>
<Toast.Provider>
<Toast.Provider>
<RelayProvider>
<RouterProvider router={router} />
<Toaster />
</Toast.Provider>
</RelayProvider>
</RelayProvider>
<Toaster />
</Toast.Provider>
);
}