diff --git a/apps/app/components/common/image-upload-modal.tsx b/apps/app/components/common/image-upload-modal.tsx index ca570b898d5..a0077858e6d 100644 --- a/apps/app/components/common/image-upload-modal.tsx +++ b/apps/app/components/common/image-upload-modal.tsx @@ -1,4 +1,4 @@ -import React, { useCallback, useEffect, useState } from "react"; +import React, { useCallback, useState } from "react"; import NextImage from "next/image"; import { useRouter } from "next/router"; @@ -70,7 +70,7 @@ export const ImageUploadModal: React.FC = (props) => { return ( - + = (props) => {
-
+
= (props) => {
- {value && value !== "" ? ( + {image !== null || (value && value !== null && value !== "") ? ( <>