diff --git a/src/components/ErrorGraphic.tsx b/src/components/ErrorGraphic.tsx index cacb10a9..2677c890 100644 --- a/src/components/ErrorGraphic.tsx +++ b/src/components/ErrorGraphic.tsx @@ -1,6 +1,6 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" import { IconDefinition } from "@fortawesome/free-solid-svg-icons" -import { cn } from "utils/util"; +import clsx from "clsx"; interface ErrorGraphicProps { icon: IconDefinition; @@ -13,16 +13,16 @@ interface ErrorGraphicProps { export default function ErrorGraphic({ className, icon, iconClassName, message, message2, messageClassName }: ErrorGraphicProps) { return ( -
+
-

+

{message}

{message2 && ( -

+

{message2}

)}