fix: Routing Form and other org related fixes (#10320)

Co-authored-by: Leo Giovanetti <[email protected]>
This commit is contained in:
Hariom BalharaandLeo Giovanetti authored and GitHub committed 2023-07-25 14:58:57 +05:30
1 parent 30095d0428
commit 35be4182e9
6 files changed
+36 -16

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import { useOrgBranding } from "@calcom/features/ee/organizations/context/provider";
import { WEBAPP_URL } from "@calcom/lib/constants";
import { CAL_URL, WEBAPP_URL } from "@calcom/lib/constants";
export const useBookerUrl = () => {
const orgBranding = useOrgBranding();
return orgBranding?.fullDomain ?? WEBAPP_URL;
return orgBranding?.fullDomain ?? CAL_URL ?? WEBAPP_URL;
};