Skip to content

Commit b232491

Browse files
committed
chore: legacy image
1 parent b10a8cc commit b232491

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/modules/home/components/hero/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import UnderlineLink from "@modules/common/components/underline-link"
2-
import Image from "next/image"
2+
import Image from "next/legacy/image"
33

44
const Hero = () => {
55
return (

src/modules/layout/components/footer-cta/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import UnderlineLink from "@modules/common/components/underline-link"
2-
import Image from "next/image"
2+
import Image from "next/legacy/image"
33

44
const FooterCTA = () => {
55
return (

src/modules/products/components/image-gallary/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Image as MedusaImage } from "@medusajs/medusa"
2-
import Image from "next/image"
2+
import Image from "next/legacy/image"
33
import { useRef } from "react"
44

55
type ImageGalleryProps = {

src/modules/products/components/thumbnail/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Image as MedusaImage } from "@medusajs/medusa"
22
import PlaceholderImage from "@modules/common/icons/placeholder-image"
33
import clsx from "clsx"
4-
import Image from "next/image"
4+
import Image from "next/legacy/image"
55
import React from "react"
66

77
type ThumbnailProps = {

0 commit comments

Comments
 (0)