1
0
forked from baron/baron-sso

refactor(adminfront): replace sonner with custom use-toast matching devfront UX policy

This commit is contained in:
2026-03-23 15:32:32 +09:00
parent d0e4f8f86a
commit d608bdb5a8
18 changed files with 121 additions and 34 deletions

View File

@@ -6,6 +6,7 @@ import { RouterProvider } from "react-router-dom";
import { queryClient } from "./app/queryClient";
import { router } from "./app/routes";
import { oidcConfig } from "./lib/auth";
import { Toaster } from "./components/ui/toaster";
import "./index.css";
const rootElement = document.getElementById("root");
@@ -19,6 +20,7 @@ createRoot(rootElement).render(
<AuthProvider {...oidcConfig}>
<QueryClientProvider client={queryClient}>
<RouterProvider router={router} />
<Toaster />
</QueryClientProvider>
</AuthProvider>
</StrictMode>,