Skip to content

Commit 10e059d

Browse files
committed
lints
1 parent 4bf171a commit 10e059d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "node .output/server/index.mjs",
99
"lint": "tsc lint:biome && tsc lint:tsc && tsc lint:unused",
1010
"lint:biome": "biome check .",
11-
"lint:tsc": "tsc --noEmit",
11+
"lint:tsc": "pnpm --package=typescript dlx tsc --noEmit",
1212
"lint:unused": "ts-unused-exports tsconfig.json --excludePathsFromReport='vite.config.ts;routeTree.gen.ts;loggingMiddleware.tsx;app.config;__root.tsx;router.tsx'",
1313
"fix": "tsc fix:biome",
1414
"fix:biome": "biome check --write .",

src/routes/docs/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { createFileRoute, redirect } from "@tanstack/react-router";
22

33
export const Route = createFileRoute("/docs/")({
4-
loader: () =>
4+
component: () =>
55
redirect({
66
to: "/docs/$section/$subsection",
77
params: { section: "getting-started", subsection: "what-is-ethui" },
8-
}),
8+
})
99
});

0 commit comments

Comments
 (0)