refactor: remove isPrerender prop and update ProductImage component to unify fullscreen handling in PrerenderProduct and ProductDetailPage
This commit is contained in:
@@ -174,7 +174,11 @@ class PrerenderProduct extends React.Component {
|
||||
ProductImage,
|
||||
{
|
||||
product: product,
|
||||
isPrerender: true
|
||||
socket: null,
|
||||
socketB: null,
|
||||
fullscreenOpen: false,
|
||||
onOpenFullscreen: null,
|
||||
onCloseFullscreen: null
|
||||
}
|
||||
),
|
||||
// Product Details Section
|
||||
|
||||
Reference in New Issue
Block a user