|
@@ -147,12 +147,12 @@ export default ({images = [], className, onChange, onClick, ref, current:propCur
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (window.navigator.userAgent.includes('Prerender')){
|
|
|
|
- return (<img src={images[0]}
|
|
|
|
- alt={`image of good`}
|
|
|
|
- style={{maxWidth: '50vw', maxHeight: '50vh'}}
|
|
|
|
- />)
|
|
|
|
- }
|
|
|
|
|
|
+ // if (window.navigator.userAgent.includes('Prerender')){
|
|
|
|
+ // return (<img src={images[0]}
|
|
|
|
+ // alt={`image of good`}
|
|
|
|
+ // style={{maxWidth: '50vw', maxHeight: '50vh'}}
|
|
|
|
+ // />)
|
|
|
|
+ // }
|
|
|
|
|
|
return (
|
|
return (
|
|
<div className={className}
|
|
<div className={className}
|