Skip to content

Commit

Permalink
Update index.tsx with shorter syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Leonardo Montini <[email protected]>
  • Loading branch information
DomeT99 and Balastrong authored Apr 15, 2024
1 parent 56d06ce commit 5e75c84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ export default component$(() => {
type="text"
class="w-full shadow border-2 rounded p-1"
placeholder="Bill name"
value={titleBill.value}
onInput$={(_, el) => (titleBill.value = el.value)}
bind:value={titleBill}
/>
</div>
<div>
Expand Down

0 comments on commit 5e75c84

Please sign in to comment.