Skip to content

Commit

Permalink
docs: update website code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed May 3, 2024
1 parent 075e4c0 commit 5453149
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 65 deletions.
4 changes: 2 additions & 2 deletions docs/app/live-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ const DEFAULT_LIVE_CODE = `\
export default function App() {
return (
<>
<h1>
<h1 id="title">
Hello
<span className="small"> world</span>
<span> world</span>
</h1>
<div style={styles.bar} />
</>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
},
"devDependencies": {
"codice": "^0.2.0",
"next": "14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "14.2.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sugar-high": "link:./",
"vitest": "^1.2.2"
},
Expand Down
132 changes: 72 additions & 60 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5453149

Please sign in to comment.