We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bafeac6 commit bbf0019Copy full SHA for bbf0019
1 file changed
src/hooks/useTouchMove.ts
@@ -82,7 +82,7 @@ export default function useTouchMove(
82
const { deltaX, deltaY } = e;
83
84
// Convert both to x & y since wheel only happened on PC
85
- let mixed: number = 0;
+ let mixed: number;
86
const absX = Math.abs(deltaX);
87
const absY = Math.abs(deltaY);
88
if (absX === absY) {
0 commit comments