diff --git a/src/components/InfoModal/InfoModal.jsx b/src/components/InfoModal/InfoModal.jsx index 45f819c..a0dba7d 100644 --- a/src/components/InfoModal/InfoModal.jsx +++ b/src/components/InfoModal/InfoModal.jsx @@ -1,13 +1,9 @@ import { useState, useContext } from "react"; import { useNavigate } from "react-router-dom"; import { - Box, Button, - Center, Heading, Text, - Stack, - useColorModeValue, Modal, ModalOverlay, ModalContent, @@ -20,7 +16,7 @@ import { UserAuth } from "../../context/AuthContext"; import DataContext from "../../context/DataContext"; import axios from "axios"; import ImageContainer from "../ImageContainer/ImageContainer"; -import { LinkIcon, EmailIcon, CloseIcon, PhoneIcon } from "@chakra-ui/icons"; +import { LinkIcon, EmailIcon, CloseIcon } from "@chakra-ui/icons"; export default function InfoModal({ setData, isOpen, onClose, props }) { const [showEmail, setShowEmail] = useState(false); @@ -149,7 +145,7 @@ export default function InfoModal({ setData, isOpen, onClose, props }) { } }} > - View Contact + View Contact ) : (