Merge branch 'agnostic' of https://github.com/vercel/commerce into agnostic

This commit is contained in:
cond0r
2021-02-22 09:14:22 +02:00
63 changed files with 900 additions and 884 deletions

View File

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