- added settings page - can post and get data from endpoint
- moved toaster to main page - updated config for CORS
This commit is contained in:
@@ -2,12 +2,14 @@ import { createRootRoute, Outlet } from "@tanstack/react-router";
|
||||
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
|
||||
import Header from "../ui/Header";
|
||||
import Footer from "../ui/Footer";
|
||||
import { Toaster } from "sonner";
|
||||
|
||||
const RootLayout = () => (
|
||||
<>
|
||||
<Header />
|
||||
<main className="p-4 min-h-screen">
|
||||
<Outlet />
|
||||
<Toaster />
|
||||
</main>
|
||||
<Footer />
|
||||
<TanStackRouterDevtools position="bottom-right" />
|
||||
|
||||
Reference in New Issue
Block a user