Skip to content

Commit

Permalink
fixed eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
stevem-zhou committed Sep 20, 2023
1 parent 3965359 commit e3d9caf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/InfoModal/InfoModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function InfoModal({ setData, isOpen, onClose, props }) {
const navigate = useNavigate();
const feedbackModalDisclosure = useDisclosure();
const currentEmail = user?.email;

// function viewEmail() {
// if (user) {
// setShowEmail(true);
Expand Down Expand Up @@ -140,7 +140,7 @@ export default function InfoModal({ setData, isOpen, onClose, props }) {
}
}}
>
<PhoneIcon /> View Contact
<EmailIcon /> View Contact
</Button>
) : (
<Button size="lg" variant="outline" colorScheme="blue">
Expand All @@ -155,7 +155,7 @@ export default function InfoModal({ setData, isOpen, onClose, props }) {
onClick={handleResolve}
isDisabled={props.isresolved ? true : false}
>
{currentEmail === props.email ? <CheckIcon /> Resolve : <EmailIcon /> View Contact}
<CheckIcon /> Resolve
</Button>
)}
<Button
Expand Down

0 comments on commit e3d9caf

Please sign in to comment.