diff --git a/src/frontend/src/components/genericIconComponent/index.tsx b/src/frontend/src/components/genericIconComponent/index.tsx index 9c3ea4402..1fce0525c 100644 --- a/src/frontend/src/components/genericIconComponent/index.tsx +++ b/src/frontend/src/components/genericIconComponent/index.tsx @@ -2,6 +2,8 @@ import dynamicIconImports from "lucide-react/dynamicIconImports"; import { Suspense, forwardRef, lazy, memo } from "react"; import { IconComponentProps } from "../../types/components"; import { nodeIconsLucide } from "../../utils/styleUtils"; +import { cn } from "../../utils/utils"; +import Loading from "../ui/loading"; const ForwardedIconComponent = memo( forwardRef( @@ -34,7 +36,9 @@ const ForwardedIconComponent = memo( return null; // Render nothing until the icon is loaded } const fallback = ( -
+
+ +
); return (