Skip to content

Commit

Permalink
Update beta/src/pages/learn/add-react-to-a-website.md
Browse files Browse the repository at this point in the history
  • Loading branch information
QC-L authored Dec 18, 2021
1 parent 2c35168 commit 9617edd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beta/src/pages/learn/add-react-to-a-website.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ return <button onClick={() => setLiked(true)}>Like</button>;
```jsx
return <button onClick={() => setLiked(true)}>Like</button>;
```

替换

```js
return React.createElement(
'button',
Expand Down

0 comments on commit 9617edd

Please sign in to comment.