Skip to content

Commit

Permalink
Merge branch 'main' into steven-feedback+modal
Browse files Browse the repository at this point in the history
  • Loading branch information
stevem-zhou authored Sep 20, 2023
2 parents 76c6ce3 + 3fa132e commit b229eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InfoModal/InfoModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { UserAuth } from "../../context/AuthContext";
import DataContext from "../../context/DataContext";
import ImageContainer from "../ImageContainer/ImageContainer";
import FeedbackModal from "../FeedbackModal/FeedbackModal";
import { LinkIcon, CheckIcon, PhoneIcon } from "@chakra-ui/icons";
import { LinkIcon, CheckIcon, EmailIcon, PhoneIcon } from "@chakra-ui/icons";

export default function InfoModal({ setData, isOpen, onClose, onOpen, props }) {
const [showEmail, setShowEmail] = useState(false);
Expand Down Expand Up @@ -155,7 +155,7 @@ export default function InfoModal({ setData, isOpen, onClose, onOpen, props }) {
onClick={handleDelete}
isDisabled={props.isresolved ? true : false}
>
<CheckIcon /> Resolve
{currentEmail === props.email ? <CheckIcon /> Resolve : <EmailIcon /> View Contact}
</Button>
)}
<Button
Expand Down

0 comments on commit b229eca

Please sign in to comment.