File tree Expand file tree Collapse file tree
src/content/reference/react Expand file tree Collapse file tree Original file line number Diff line number Diff 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 .
28272827export 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 .
29652965export function freshImageUrl () {
29662966 return ' https://react.dev/images/team/jack-pope.jpg?t=' + Date .now ();
29672967}
You can’t perform that action at this time.
0 commit comments