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:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user