Skip to content

Commit 19e5a71

Browse files
committed
fixed image loading problem from placekitten.com
1 parent 7cc36a6 commit 19e5a71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/content/learn/manipulating-the-dom-with-refs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ export default function CatFriends() {
137137
<ul>
138138
<li>
139139
<img
140-
src="https://placekitten.com/g/200/200"
140+
src="http://placekitten.com/200/200"
141141
alt="Tom"
142142
ref={firstCatRef}
143143
/>
144144
</li>
145145
<li>
146146
<img
147-
src="https://placekitten.com/g/300/200"
147+
src="https://placekitten.com/300/200"
148148
alt="Maru"
149149
ref={secondCatRef}
150150
/>

src/content/reference/react/useRef.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,13 @@ export default function CatFriends() {
340340
<ul ref={listRef}>
341341
<li>
342342
<img
343-
src="https://placekitten.com/g/200/200"
343+
src="http://placekitten.com/200/200"
344344
alt="Tom"
345345
/>
346346
</li>
347347
<li>
348348
<img
349-
src="https://placekitten.com/g/300/200"
349+
src="https://placekitten.com/300/200"
350350
alt="Maru"
351351
/>
352352
</li>

0 commit comments

Comments
 (0)