diff --git a/src/components/InfoModal/InfoModal.jsx b/src/components/InfoModal/InfoModal.jsx index 82f9f40..0cc52da 100644 --- a/src/components/InfoModal/InfoModal.jsx +++ b/src/components/InfoModal/InfoModal.jsx @@ -19,21 +19,21 @@ import ImageContainer from "../ImageContainer/ImageContainer"; import FeedbackModal from "../FeedbackModal/FeedbackModal"; import { LinkIcon, CheckIcon, EmailIcon, PhoneIcon } from "@chakra-ui/icons"; -export default function InfoModal({ setData, isOpen, onClose, onOpen, props }) { +export default function InfoModal({ setData, isOpen, onClose, props }) { const [showEmail, setShowEmail] = useState(false); const { onLoginModalOpen } = useContext(DataContext); const { user } = UserAuth(); const navigate = useNavigate(); const feedbackModalDisclosure = useDisclosure(); const currentEmail = user?.email; - + // function viewEmail() { // if (user) { // setShowEmail(true); // } // } - async function handleDelete() { + async function handleResolve() { feedbackModalDisclosure.onOpen(); } @@ -140,7 +140,7 @@ export default function InfoModal({ setData, isOpen, onClose, onOpen, props }) { } }} > - View Contact + View Contact ) : ( )}