Skip to content

Commit

Permalink
fix: scroller -> selecto typo fix in ScrollTemplate.tsx (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
prg938 committed Nov 4, 2023
1 parent 677e64c commit 5166c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storybook/template/ScrollTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ${DEFAULT_PROPS_TEMPLATE(props, { indent: 4 })}
selecto${Object.keys(events).map(name => `.on("${name}", ${events[name](CODE_TYPE.ARROW, "vanilla")})`).join("")};
scroller.addEventListener("scroll", () => {
scroller.checkScroll();
selecto.checkScroll();
});
document.querySelector(".reset").addEventListener("click", () => {
scroller.scrollTo(0, 0);
Expand Down

0 comments on commit 5166c0d

Please sign in to comment.