feat(SW-828): Moved placeholder image to ImageGallery
This commit is contained in:
@@ -164,11 +164,7 @@ export default function RoomCard({
|
||||
</div>
|
||||
{/*NOTE: images from the test API are hosted on test3.scandichotels.com,
|
||||
which can't be accessed unless on Scandic's Wifi or using Citrix. */}
|
||||
{images ? (
|
||||
<ImageGallery images={images} title={roomConfiguration.roomType} />
|
||||
) : (
|
||||
<div className={styles.imagePlaceholder} />
|
||||
)}
|
||||
<ImageGallery images={images} title={roomConfiguration.roomType} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user