4
0
forked from crowetic/commerce

Removing bug with touchstart

This commit is contained in:
okbel 2021-02-18 13:24:46 -03:00
parent cbc354e0b6
commit 19db5a7e1d
2 changed files with 7 additions and 5 deletions

View File

@ -50,11 +50,13 @@ const ProductSlider: FC = ({ children }) => {
) )
return () => { return () => {
if (sliderContainerRef.current) {
sliderContainerRef.current!.removeEventListener( sliderContainerRef.current!.removeEventListener(
'touchstart', 'touchstart',
preventNavigation preventNavigation
) )
} }
}
}, []) }, [])
return ( return (

View File

@ -1,5 +1,5 @@
{ {
"features": { "features": {
"wishlist": true "wishlist": false
} }
} }