Fix demo code to include React import

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-17 23:07:20 +00:00
parent d146e2b2a7
commit c907b3cf08

View File

@@ -1,4 +1,6 @@
export const DEMO_CODE = `function Counter() {
export const DEMO_CODE = `import React from 'react'
function Counter() {
const [count, setCount] = React.useState(0)
return (