We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82cc02c commit dc9cc7eCopy full SHA for dc9cc7e
2 files changed
src/lib/layout.shared.tsx
@@ -15,7 +15,7 @@ export function baseOptions(): BaseLayoutProps {
15
16
const handleRightClick = async (e: React.MouseEvent) => {
17
e.preventDefault();
18
- await navigate({ to: "/docs/$", params: { _splat: "brand" } });
+ await navigate({ to: "/docs/$", params: { _splat: "brand" }, reloadDocument: true });
19
};
20
return {
21
nav: {
src/routes/docs/$.tsx
@@ -33,7 +33,7 @@ export const Route = createFileRoute("/docs/$")({
33
const loader = createServerFn({
34
method: "GET",
35
})
36
- .inputValidator((slugs: string[]) => slugs)
+ .validator((slugs: string[]) => slugs)
37
.middleware([staticFunctionMiddleware])
38
.handler(async ({ data: slugs }) => {
39
const page = source.getPage(slugs);
0 commit comments