Took my time to tweak linter configurations

This commit is contained in:
2023-11-23 18:14:23 +03:00
parent 2a1bcfc3d2
commit 2bd1e4a512
6 changed files with 22 additions and 8 deletions
+2 -2
View File
@@ -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,
)!