diff --git a/src/app/(investment)/deals/[id]/displayImage.tsx b/src/app/(investment)/deals/[id]/displayImage.tsx
index 0e28f72..b1b6557 100644
--- a/src/app/(investment)/deals/[id]/displayImage.tsx
+++ b/src/app/(investment)/deals/[id]/displayImage.tsx
@@ -11,25 +11,31 @@ import {
import Image from "next/image";
import { StaticImport } from "next/dist/shared/lib/get-img-props";
+interface ItemProps {
+ src: string | StaticImport;
+ alt: string;
+ width: number;
+ height: number;
+}
-const ImageModal = ({ item, width }: { item: { src: string | StaticImport; alt: string;} }, number ) => {
+const ImageModal = ({ src, alt, width, height }: ItemProps) => {
return (
);
};
-export function DisplayFullImage({ item }: { item: { src: string | StaticImport; alt: string; width: number; height: number } }) {
- return