Skip to content

Commit

Permalink
fixed eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
NwinNwin committed Sep 19, 2023
1 parent 1084b63 commit 3fa132e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/InfoModal/InfoModal.jsx
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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);
Expand Down Expand Up @@ -149,7 +145,7 @@ export default function InfoModal({ setData, isOpen, onClose, props }) {
}
}}
>
<PhoneIcon /> View Contact
<EmailIcon /> View Contact
</Button>
) : (
<Button size="lg" variant="outline" colorScheme="blue">
Expand Down

0 comments on commit 3fa132e

Please sign in to comment.