refactor: remove isPrerender prop and update ProductImage component to unify fullscreen handling in PrerenderProduct and ProductDetailPage

This commit is contained in:
sebseb7
2025-07-20 01:16:44 +02:00
parent ea488982a7
commit bfd1803c6f
3 changed files with 7 additions and 49 deletions

View File

@@ -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