Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Dec 5, 2022
1 parent cbcd8f6 commit 419e8fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -13,7 +13,7 @@ export function useTrackedPointer() {
wasMoved(evt: PointerEvent) {
// TODO: This is a hack to get around the fact that our tests don't "move" the virtual pointer
if (process.env.NODE_ENV === 'test') {
return true;
return true
}

let newPos = eventToPosition(evt)
Expand Down
2 changes: 1 addition & 1 deletion packages/@headlessui-vue/src/hooks/use-tracked-pointer.ts
Expand Up @@ -13,7 +13,7 @@ export function useTrackedPointer() {
wasMoved(evt: PointerEvent) {
// TODO: This is a hack to get around the fact that our tests don't "move" the virtual pointer
if (process.env.NODE_ENV === 'test') {
return true;
return true
}

let newPos = eventToPosition(evt)
Expand Down

0 comments on commit 419e8fe

Please sign in to comment.