Fix typo on useIsTouchDevice hook
Closed this issue · 0 comments
dlcastillop commented
From
setIsTouchDevice(
'ontouchstart' in window ||
navigator.maxTouchPoints > 0 ||
navigator.msMaxTouchPoints > 0
);
to
setIsTouchDevice(
'ontouchstart' in window ||
navigator.maxTouchPoints > 0 ||
navigator.maxTouchPoints > 0
);