Skip to content

Commit

Permalink
docs: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
linxianxi committed Jan 23, 2024
1 parent 357c78d commit 98a3787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/scroll-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default () => {
const result = value.concat(added).filter((i) => !removed.includes(i));
setValue(result);
}}
scrollContainer={() => document.getElementById('.scroll-container') as HTMLElement}
scrollContainer={() => document.getElementById('scroll-container') as HTMLElement}
>
<div
id="scroll-container"
Expand Down

0 comments on commit 98a3787

Please sign in to comment.