diff --git a/packages/ui/v2/core/banner.tsx b/packages/ui/v2/core/banner.tsx index 3a4acb7199..d7ae94215c 100644 --- a/packages/ui/v2/core/banner.tsx +++ b/packages/ui/v2/core/banner.tsx @@ -3,8 +3,6 @@ import { Icon } from "react-feather"; import classNames from "@calcom/lib/classNames"; -import { Button } from "../../components/button"; - const stylesByVariant = { neutral: { background: "bg-gray-100 ", text: "!text-gray-800", hover: "hover:!bg-gray-200" }, warning: { background: "bg-orange-100 ", text: "!text-orange-800", hover: "hover:!bg-orange-200" }, @@ -24,7 +22,6 @@ export type BannerProps = { const Banner = (props: BannerProps) => { const { variant, errorMessage, title, description, className, Icon, ...rest } = props; - const buttonStyle = classNames(stylesByVariant[variant].text, stylesByVariant[variant].hover); const [show, setShow] = useState(true); if (!show) { return null; @@ -38,29 +35,28 @@ const Banner = (props: BannerProps) => { className )} {...rest}> -
{errorMessage}
}