Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
toviszsolt committed May 23, 2024
1 parent 56b7a34 commit a41e4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const Comp = () => {
console.log({ current, prev });
};

return <ScrollSpy onChangeActiveId={onClickEach}>...</ScrollSpy>;
return <ScrollSpy onChangeActiveId={onChangeActiveId}>...</ScrollSpy>;
};
```

Expand Down

0 comments on commit a41e4e1

Please sign in to comment.