chore: prefer arrow function shorthand
This commit is contained in:
@@ -173,9 +173,7 @@ export default createComponent({
|
||||
}
|
||||
};
|
||||
|
||||
const init = () => {
|
||||
nextTick(onScroll);
|
||||
};
|
||||
const init = () => nextTick(onScroll);
|
||||
|
||||
useEventListener('scroll', onScroll, { target: scrollParent });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user