Skip to content

Commit 5cc4a30

Browse files
committed
agent review
1 parent 0d41392 commit 5cc4a30

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/content/reference/react/Suspense.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,7 +2431,6 @@ export default function VanillaCard() {
24312431
const doc = ref.current.contentWindow.document;
24322432
doc.open();
24332433
doc.write(`
2434-
<link rel="stylesheet" href="${freshStylesheetUrl()}">
24352434
<style>
24362435
body { margin: 0; }
24372436
.fancy-card {
@@ -2444,6 +2443,7 @@ export default function VanillaCard() {
24442443
}
24452444
</style>
24462445
<div class="fancy-card">This card uses a font from the stylesheet.</div>
2446+
<link rel="stylesheet" href="${freshStylesheetUrl()}">
24472447
`);
24482448
doc.close();
24492449
}
@@ -2823,7 +2823,7 @@ export default function VanillaQuote() {
28232823
28242824
```js src/font.js hidden
28252825
// Add a unique parameter so the font isn't cached,
2826-
// and every run shows the font being waited on.
2826+
// and every run shows the loading state.
28272827
export function freshFontUrl() {
28282828
return (
28292829
'https://raw.githubusercontent.com/google/fonts/main/ofl/caveat/Caveat%5Bwght%5D.ttf' +
@@ -2961,7 +2961,7 @@ export default function VanillaProfile() {
29612961
29622962
```js src/image.js hidden
29632963
// Add a unique parameter so the image isn't cached,
2964-
// and every run shows the boundary waiting.
2964+
// and every run shows the loading state.
29652965
export function freshImageUrl() {
29662966
return 'https://react.dev/images/team/jack-pope.jpg?t=' + Date.now();
29672967
}

0 commit comments

Comments
 (0)