Skip to content

Commit 156765f

Browse files
authored
Fix localhost link in script documentation (#6642)
1 parent 74c33a1 commit 156765f

File tree

1 file changed

+2
-2
lines changed
  • src/content/reference/react-dom/components

1 file changed

+2
-2
lines changed

src/content/reference/react-dom/components/script.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Props that are **not recommended** for use with React:
6868

6969
#### Special rendering behavior {/*special-rendering-behavior*/}
7070

71-
React can move `<script>` components to the document's `<head>`, de-duplicate identical scripts, and [suspend](http://localhost:3000/reference/react/Suspense) while the script is loading.
71+
React can move `<script>` components to the document's `<head>`, de-duplicate identical scripts, and [suspend](/reference/react/Suspense) while the script is loading.
7272

7373
To opt into this behavior, provide the `src` and `async={true}` props. React will de-duplicate scripts if they have the same `src`. The `async` prop must be true to allow scripts to be safely moved.
7474

@@ -146,4 +146,4 @@ export default function Page() {
146146
}
147147
```
148148

149-
</SandpackWithHTMLOutput>
149+
</SandpackWithHTMLOutput>

0 commit comments

Comments
 (0)