Skip to content

Commit 8a243c1

Browse files
authored
docs(tutorials/address-book): fix filename (#14551)
1 parent d52c4e6 commit 8a243c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/address-book.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ If you refresh the about page, you still see the loading spinner for just a spli
813813

814814
Inside of `react-router.config.ts`, we can add a [`prerender`][pre-rendering] array to the config to tell React Router to pre-render certain urls at build time. In this case we just want to pre-render the about page.
815815

816-
```ts filename=app/react-router.config.ts lines=[5]
816+
```ts filename=react-router.config.ts lines=[5]
817817
import { type Config } from "@react-router/dev/config";
818818

819819
export default {
@@ -838,7 +838,7 @@ If you ever do want to introduce server-side rendering into your React Router ap
838838

839839
👉 **Enable server-side rendering**
840840

841-
```ts filename=app/react-router.config.ts lines=[2]
841+
```ts filename=react-router.config.ts lines=[2]
842842
export default {
843843
ssr: true,
844844
prerender: ["/about"],

0 commit comments

Comments
 (0)