Skip to content

Commit

Permalink
fix(tutorial): input reactivity in useResource$() (#5818)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcsandru committed Feb 5, 2024
1 parent e2aaf60 commit 35fbb40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default component$(() => {
<p>
<label>
GitHub username:
<input value={github.org} onInput$={(ev, el) => el.value} />
<input value={github.org} onInput$={(ev, el) => (github.org = el.value)} />
</label>
</p>
<section>
Expand Down

0 comments on commit 35fbb40

Please sign in to comment.