import { createRootRoute, Outlet } from "@tanstack/react-router";
import { Toaster } from "sonner";
import { Header } from "../components/Header";

export const Route = createRootRoute({
	component: RootLayout,
});

function RootLayout() {
	return (
		<>
			<Header />
			<main>
				<Outlet />
				<Toaster />
			</main>
		</>
	);
}
