Skip to content

Commit

Permalink
Update packages/docs/src/routes/demo/state/counter-store/index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Giorgio Boa <35845425+gioboa@users.noreply.github.com>
  • Loading branch information
Balastrong and gioboa committed Jan 15, 2024
1 parent 847e05b commit 124d0aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default component$(() => {
<button onClick$={() => state.count++}>Increment</button>
<p>Count: {state.count}</p>
<input
onInput$={(_, el) => (state.name = el.value)}
value={state.name}
onInput$={(_, el) => (state.name = el.value)}
/>
</>
);
Expand Down

0 comments on commit 124d0aa

Please sign in to comment.