kemono2/client/src/router.tsx
2025-04-02 16:32:47 +02:00

18 lines
384 B
TypeScript

import { createBrowserRouter } from "react-router";
import { routes } from "./routes";
export const router = createBrowserRouter(
routes,
{
future: {
v7_relativeSplatPath: true,
v7_normalizeFormMethod: true,
v7_startTransition: true,
v7_fetcherPersist: true,
v7_partialHydration: true,
v7_skipActionErrorRevalidation: true,
},
}
);