diff --git a/src/Components/LocationModal.tsx b/src/Components/LocationModal.tsx
index b90fcbc..131ebe4 100644
--- a/src/Components/LocationModal.tsx
+++ b/src/Components/LocationModal.tsx
@@ -21,10 +21,8 @@ import {
Typography,
} from '@material-ui/core';
import clsx from 'clsx';
-import InfoIcon from '@material-ui/icons/Info';
import PhoneIcon from '@material-ui/icons/Phone';
import DirectionsIcon from '@material-ui/icons/Directions';
-import ShareIcon from '@material-ui/icons/Share';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import ReportProblemIcon from '@material-ui/icons/ReportProblem';
import ReactGA from 'react-ga';
@@ -170,7 +168,6 @@ const LocationModal = ({ location, onClose }: ModalProps) => {
icon: labelMap[key].icon,
});
});
-
const address = `${location.location_address_street.trim()}, ${location.location_address_locality.trim()}, ${location.location_address_region.trim()} ${location.location_address_postal_code.trim()}`;
return (
@@ -190,6 +187,9 @@ const LocationModal = ({ location, onClose }: ModalProps) => {
{
+ handleLinkClicked(location.location_id, 'Call');
+ }}
>
@@ -207,6 +207,9 @@ const LocationModal = ({ location, onClose }: ModalProps) => {
area-label="report"
href="https://docs.google.com/forms/d/e/1FAIpQLSfYpEDiV8MwkBSVa7rKI_OzrmtGvclzgFzvcjxocLJncJOXDQ/viewform?usp=sf_link"
target="_blank"
+ onClick={() => {
+ handleLinkClicked(location.location_id, 'Report Error');
+ }}
>
@@ -218,9 +221,6 @@ const LocationModal = ({ location, onClose }: ModalProps) => {
{location.additional_information_for_patients}
- {console.log(
- location.location_contact_url_covid_screening_tool !== ''
- )}