cal.pub0.org/apps/web/components/ui/UsernameAvailability/index.tsx

7 lines
261 B
TypeScript

import { IS_SELF_HOSTED } from "@calcom/lib/constants";
import { PremiumTextfield } from "./PremiumTextfield";
import { UsernameTextfield } from "./UsernameTextfield";
export const UsernameAvailability = IS_SELF_HOSTED ? UsernameTextfield : PremiumTextfield;