From 1ab1f27c120db84d9e512075f236b176ea63fde5 Mon Sep 17 00:00:00 2001 From: Chapman Cheng <45029601+chapman-cc@users.noreply.github.com> Date: Tue, 3 Mar 2026 12:32:23 +0000 Subject: [PATCH] fix: Update route file name in routing concepts The code block title `src/routes/posts.tsx` does not match against the line above `posts.$postId.tsx` This pr fixes this typo --- docs/router/routing/routing-concepts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/router/routing/routing-concepts.md b/docs/router/routing/routing-concepts.md index bcd507a45fd..88eebbd5f0c 100644 --- a/docs/router/routing/routing-concepts.md +++ b/docs/router/routing/routing-concepts.md @@ -193,7 +193,7 @@ These params are then usable in your route's configuration and components! Let's # React -```tsx title="src/routes/posts.tsx" +```tsx title="src/routes/posts/$postId.tsx" import { createFileRoute } from '@tanstack/react-router' export const Route = createFileRoute('/posts/$postId')({