Skip to content

Commit

Permalink
fix(svelte): fix incorrect parameters in event dispatching (#5716)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoubleu authored May 16, 2022
1 parent 3909c45 commit b7961a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svelte/swiper.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
};
swiperParams.onAny = (event, ...args) => {
dispatch(event, [args]);
dispatch(event, args);
};
Object.assign(swiperParams.on, {
_beforeBreakpoint: onBeforeBreakpoint,
Expand Down

0 comments on commit b7961a3

Please sign in to comment.