Fix/remove date selector telementry (#1491)

This commit is contained in:
Peer Richelsen authored and GitHub committed 2022-01-12 22:16:38 +00:00
1 parent f7fda47534
commit 20404611b0
3 files changed
-6

No files matched your search

@@ -61,7 +61,6 @@ const AvailabilityPage = ({ profile, eventType, workingHours }: Props) => {
}, [telemetry]);
const changeDate = (newDate: Dayjs) => {
telemetry.withJitsu((jitsu) => jitsu.track(telemetryEventTypes.dateSelected, collectPageParameters()));
router.replace(
{
query: {
-3
View File
@@ -112,9 +112,6 @@ const BookingPage = (props: BookingPageProps) => {
}, [router.query.guest]);
const telemetry = useTelemetry();
useEffect(() => {
telemetry.withJitsu((jitsu) => jitsu.track(telemetryEventTypes.timeSelected, collectPageParameters()));
}, [telemetry]);
const locationInfo = (type: LocationType) => locations.find((location) => location.type === type);