From ef0d43883d5eefcb5f0fbb44f8d4c6cd8d8e059f Mon Sep 17 00:00:00 2001 From: Dan Gamble Date: Wed, 24 Sep 2025 10:05:53 +0100 Subject: [PATCH] Correct file reference in `build-from-scratch.md` The file tree above, and in all examples uses `src/router.tsx` but this currently references `src/start.tsx` --- docs/start/framework/react/build-from-scratch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/start/framework/react/build-from-scratch.md b/docs/start/framework/react/build-from-scratch.md index a4d270ade6..2a9e7045b9 100644 --- a/docs/start/framework/react/build-from-scratch.md +++ b/docs/start/framework/react/build-from-scratch.md @@ -137,7 +137,7 @@ from the default [preloading functionality](/router/latest/docs/framework/react/ > You won't have a `routeTree.gen.ts` file yet. This file will be generated when you run TanStack Start for the first time. ```tsx -// src/start.tsx +// src/router.tsx import { createRouter } from '@tanstack/react-router' import { routeTree } from './routeTree.gen'