From 6456be95b2185b1fca047840758773f2e4b3478c Mon Sep 17 00:00:00 2001 From: Chuma McPhoy Date: Wed, 21 Aug 2024 13:00:32 +0200 Subject: [PATCH] fix(SW-96): use Image component instead of next/image directly --- components/Lightbox/FullView.tsx | 2 +- components/Lightbox/Gallery.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Lightbox/FullView.tsx b/components/Lightbox/FullView.tsx index 2410a8b47..4a14fac2c 100644 --- a/components/Lightbox/FullView.tsx +++ b/components/Lightbox/FullView.tsx @@ -1,9 +1,9 @@ "use client" import { AnimatePresence, motion } from "framer-motion" -import Image from "next/image" import { ChevronRightIcon } from "@/components/Icons" import ArrowRightIcon from "@/components/Icons/ArrowRight" +import Image from "@/components/Image" import Button from "@/components/TempDesignSystem/Button" import Body from "@/components/TempDesignSystem/Text/Body" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/components/Lightbox/Gallery.tsx b/components/Lightbox/Gallery.tsx index c0921ba7c..42385acb2 100644 --- a/components/Lightbox/Gallery.tsx +++ b/components/Lightbox/Gallery.tsx @@ -1,10 +1,10 @@ "use client" import { AnimatePresence, motion } from "framer-motion" -import Image from "next/image" import { ChevronRightIcon } from "@/components/Icons" import ArrowRightIcon from "@/components/Icons/ArrowRight" import CloseIcon from "@/components/Icons/Close" +import Image from "@/components/Image" import Button from "@/components/TempDesignSystem/Button" import Caption from "@/components/TempDesignSystem/Text/Caption"