Unverified Commit 3c3f50dd authored by Starunaway's avatar Starunaway Committed by GitHub

Update examples: counter.tsx - Don't need empty space (#52576)

Don't need empty space
parent 2b98f778
......@@ -13,11 +13,11 @@ export default function Counter({
const [count, setCount] = useState(0)
return (
<p>
This compoment is rendered on client:{' '}
This compoment is rendered on client:
<button onClick={() => setCount((n) => n - 1)}>
{dictionary.decrement}
</button>{' '}
{count}{' '}
</button>
{count}
<button onClick={() => setCount((n) => n + 1)}>
{dictionary.increment}
</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment