fix(SW-983): Fixed bug with hotel card in map
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client"
|
||||
|
||||
import { useState } from "react"
|
||||
import { memo, useState } from "react"
|
||||
import { useIntl } from "react-intl"
|
||||
|
||||
import { GalleryIcon } from "@/components/Icons"
|
||||
@@ -12,7 +12,7 @@ import styles from "./imageGallery.module.css"
|
||||
|
||||
import type { ImageGalleryProps } from "@/types/components/imageGallery"
|
||||
|
||||
export default function ImageGallery({
|
||||
function ImageGallery({
|
||||
images,
|
||||
title,
|
||||
fill,
|
||||
@@ -58,3 +58,5 @@ export default function ImageGallery({
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default memo(ImageGallery)
|
||||
|
||||
Reference in New Issue
Block a user