Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

313 B
Raw Blame
export const isSelfHosted = process.env.NEXT_PUBLIC_SELF_HOSTED === "true";

export const IfSelfHosted = ({ children }: React.PropsWithChildren) => {
  return isSelfHosted ? children : null;
};

export const IfCloudHosted = ({ children }: React.PropsWithChildren) => {
  return isSelfHosted ? null : children;
};