This commit is contained in:
+4
-1
@@ -8,6 +8,7 @@ import {
|
||||
} from "react-router";
|
||||
import type { Route } from "./+types/root";
|
||||
import { AuthProvider } from "@/app/context/auth-context";
|
||||
import { ToastProvider } from "@/app/context/toast-context";
|
||||
import "./app.css";
|
||||
|
||||
export const links: Route.LinksFunction = () => [
|
||||
@@ -44,7 +45,9 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
||||
export default function App() {
|
||||
return (
|
||||
<AuthProvider>
|
||||
<Outlet />
|
||||
<ToastProvider>
|
||||
<Outlet />
|
||||
</ToastProvider>
|
||||
</AuthProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user