Skip to content

Commit 87d4ccb

Browse files
authored
docs(start): incorrect usage of scripts in the "document head management" guide (#4801)
1 parent 91e404b commit 87d4ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/router/framework/react/guide/document-head-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ To do this, you must:
115115

116116
```tsx
117117
export const Route = createRootRoute({
118-
scripts: [
118+
scripts: () => [
119119
{
120120
children: 'console.log("Hello, world!")',
121121
},

0 commit comments

Comments
 (0)