From 730f9267d21085e1f4d4fbcfb7e51b0682268a58 Mon Sep 17 00:00:00 2001 From: Ryukemeister Date: Wed, 1 Nov 2023 01:00:35 +0530 Subject: [PATCH] minor fixes --- .../components/empty-screen/index.tsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/packages/atoms/availability-list/components/empty-screen/index.tsx b/packages/atoms/availability-list/components/empty-screen/index.tsx index 6cf320e20d..60238b3ada 100644 --- a/packages/atoms/availability-list/components/empty-screen/index.tsx +++ b/packages/atoms/availability-list/components/empty-screen/index.tsx @@ -1,9 +1,9 @@ import { Button } from "@/components/ui/button"; +import { cn } from "@/lib/utils"; import type { LucideIcon as IconType } from "lucide-react"; import type { ReactNode } from "react"; import React from "react"; -import { classNames } from "@calcom/lib"; import type { SVGComponent } from "@calcom/types/SVGComponent"; type EmptyScreenProps = { @@ -34,7 +34,7 @@ export function EmptyScreen({ <>
)}
-

+

{headline}

- {description && ( + {!!description && (
{description}
)} - {buttonOnClick && buttonText && } + {!!buttonOnClick && !!buttonText && } {buttonRaw}