This repository has been archived on 2026-01-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
cover-letter-templater/frontend/src/routes/__root.tsx
T
Leons Aleksandrovs 2cd3027b72 Replaced tabler with lucide
Because it caused so many requests in development it was horrible
2025-07-04 21:49:16 +03:00

22 lines
604 B
TypeScript

import { Outlet, createRootRouteWithContext } from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
import TanStackQueryLayout from "../integrations/tanstack-query/layout.tsx";
import type { QueryClient } from "@tanstack/react-query";
interface MyRouterContext {
queryClient: QueryClient;
}
export const Route = createRootRouteWithContext<MyRouterContext>()({
component: () => (
<>
<Outlet />
{/* dev tools */}
<TanStackRouterDevtools />
<TanStackQueryLayout />
</>
),
});