fix(BOOK-405): Pushing to history when opening sidepeek to avoid navigating back inside the booking flow
Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
@@ -85,14 +85,13 @@ function ImageGallery({
|
||||
})}
|
||||
/>
|
||||
</div>
|
||||
{isOpen ? (
|
||||
<Lightbox
|
||||
images={images}
|
||||
dialogTitle={title}
|
||||
onClose={() => setIsOpen(false)}
|
||||
hideLabel={hideLabel}
|
||||
/>
|
||||
) : null}
|
||||
<Lightbox
|
||||
images={images}
|
||||
dialogTitle={title}
|
||||
onClose={() => setIsOpen(false)}
|
||||
isOpen={isOpen}
|
||||
hideLabel={hideLabel}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user