From a0057911c1e2b7753e98b80bce7157764ee39a29 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Mon, 25 Apr 2022 09:32:01 +0100 Subject: [PATCH] Fix back button (#2592) --- apps/web/components/booking/pages/AvailabilityPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsx index fa549c7554..d3edca60ad 100644 --- a/apps/web/components/booking/pages/AvailabilityPage.tsx +++ b/apps/web/components/booking/pages/AvailabilityPage.tsx @@ -31,7 +31,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale"; import { asStringOrNull } from "@lib/asStringOrNull"; import { timeZone } from "@lib/clock"; -import { BASE_URL } from "@lib/config/constants"; +import { BASE_URL, WEBAPP_URL } from "@lib/config/constants"; import { useExposePlanGlobally } from "@lib/hooks/useExposePlanGlobally"; import useTheme from "@lib/hooks/useTheme"; import { isBrandingHidden } from "@lib/isBrandingHidden"; @@ -290,7 +290,7 @@ const AvailabilityPage = ({ profile, plan, eventType, workingHours, previousPage )} - {previousPage === `${BASE_URL}/${profile.slug}` && ( + {previousPage === `${WEBAPP_URL}/${profile.slug}` && (