Skip to content

Commit

Permalink
chore: rm unneeded attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Oct 16, 2023
1 parent 13078e3 commit c19e9b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/solid-ts/src/pages/range-slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function Page() {
</div>
<For each={api().value}>
{(_, index) => (
<div class="slider__thumb" {...api().getThumbProps({ index: index() })}>
<div {...api().getThumbProps({ index: index() })}>
<input {...api().getHiddenInputProps({ index: index() })} />
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid-ts/src/pages/slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function Page() {
</div>
<For each={api().value}>
{(_, index) => (
<div class="slider__thumb" {...api().getThumbProps({ index: index() })}>
<div {...api().getThumbProps({ index: index() })}>
<input {...api().getHiddenInputProps({ index: index() })} />
</div>
)}
Expand Down

0 comments on commit c19e9b4

Please sign in to comment.