Skip to content

Commit

Permalink
Merge branch 'steven-feedback+modal' of https://github.com/NwinNwin/Z…
Browse files Browse the repository at this point in the history
…otnFound_v2 into steven-feedback+modal
  • Loading branch information
stevem-zhou committed Sep 20, 2023
2 parents 433a11d + b229eca commit 3965359
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, props }) {
const [showEmail, setShowEmail] = useState(false);
Expand Down Expand Up @@ -155,7 +155,7 @@ export default function InfoModal({ setData, isOpen, onClose, props }) {
onClick={handleResolve}
isDisabled={props.isresolved ? true : false}
>
<CheckIcon /> Resolve
{currentEmail === props.email ? <CheckIcon /> Resolve : <EmailIcon /> View Contact}
</Button>
)}
<Button
Expand Down

0 comments on commit 3965359

Please sign in to comment.