From 3fa132e86af95597bd62d9fdfaabfb81f477a930 Mon Sep 17 00:00:00 2001 From: Dang Nguyen Nguyen Date: Tue, 19 Sep 2023 10:40:37 -0700 Subject: [PATCH] fixed eslint --- src/components/InfoModal/InfoModal.jsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 ) : (