Took my time to tweak linter configurations
This commit is contained in:
+2
-2
@@ -13,10 +13,10 @@ const { pages } = storeToRefs(pageStore)
|
||||
|
||||
const swipe = useSwipe(card, {
|
||||
passive: true,
|
||||
onSwipe: (touch: TouchEvent) => {
|
||||
onSwipe: (_touch: TouchEvent) => {
|
||||
console.log(card.value?.offsetWidth, swipe.lengthX.value)
|
||||
},
|
||||
onSwipeEnd: (touch: TouchEvent, direction: UseSwipeDirection) => {
|
||||
onSwipeEnd: (_touch: TouchEvent, _direction: UseSwipeDirection) => {
|
||||
const currentPage = pages.value.find(
|
||||
(page) => page.path === route.fullPath,
|
||||
)!
|
||||
|
||||
Reference in New Issue
Block a user