novajslabs/nova.js

Fix typo on useIsTouchDevice hook

Closed this issue · 0 comments

From

setIsTouchDevice(
    'ontouchstart' in window ||
    navigator.maxTouchPoints > 0 ||
    navigator.msMaxTouchPoints > 0
);

to

setIsTouchDevice(
    'ontouchstart' in window ||
    navigator.maxTouchPoints > 0 ||
    navigator.maxTouchPoints > 0
);