Skip to content

Commit bbf0019

Browse files
committed
fix: resolve eslint 10 lint errors
1 parent bafeac6 commit bbf0019

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/useTouchMove.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default function useTouchMove(
8282
const { deltaX, deltaY } = e;
8383

8484
// Convert both to x & y since wheel only happened on PC
85-
let mixed: number = 0;
85+
let mixed: number;
8686
const absX = Math.abs(deltaX);
8787
const absY = Math.abs(deltaY);
8888
if (absX === absY) {

0 commit comments

Comments
 (0)