We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44b7ca3 commit 02203cfCopy full SHA for 02203cf
app/cookbook/migrate-from-react.md
@@ -34,7 +34,7 @@ const element = <h1>{title}</h1>;
34
<doc-code filename="JavaScript">
35
36
```javascript
37
-const image = `<img src="${href}" alt="${altText}" />`;
+const image = `<img src="${href}" />`;
38
```
39
40
</doc-code>
@@ -43,7 +43,7 @@ const image = `<img src="${href}" alt="${altText}" />`;
43
<doc-code filename="React">
44
45
46
-const image = <img src={href} alt={altText} />
+const image = <img src={href} />
47
48
49
0 commit comments