fix: Routing Form and other org related fixes (#10320)
Co-authored-by: Leo Giovanetti <[email protected]>
This commit is contained in:
1 parent
30095d0428
commit
35be4182e9
6 files changed
+36
-16
No files matched your search
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user