fix(SW-983): Fixed bug with hotel card in map

This commit is contained in:
Pontus Dreij
2024-11-22 17:05:29 +01:00
parent 0a35243d88
commit 333be1379c
7 changed files with 88 additions and 54 deletions

View File

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