Fix/remove date selector telementry (#1491)
This commit is contained in:
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: {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user