Skip to content

Commit

Permalink
feat: Referansesider now properly handles nested routing
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Sep 24, 2024
1 parent 8e1e294 commit 4b86b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/referansesider/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "@navikt/ds-tokens/dist/darkside/tokens.css";
import "./index.css";
import { routeTree } from "./routeTree.gen";

const router = createRouter({ routeTree });
const router = createRouter({ routeTree, trailingSlash: "always" });

declare module "@tanstack/react-router" {
interface Register {
Expand Down

0 comments on commit 4b86b55

Please sign in to comment.