From f833e292486f3edc2abdb217b84c86aec6614600 Mon Sep 17 00:00:00 2001 From: INS Date: Thu, 14 Oct 2021 18:04:15 +0800 Subject: [PATCH] feat: Update `image` Skeleton rounded --- libs/mibao-ui/src/lib/image/image.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/mibao-ui/src/lib/image/image.tsx b/libs/mibao-ui/src/lib/image/image.tsx index 4c1b5d84..4bd7a31a 100644 --- a/libs/mibao-ui/src/lib/image/image.tsx +++ b/libs/mibao-ui/src/lib/image/image.tsx @@ -19,8 +19,8 @@ export const Image = (props: ImageProps) => { // loading element const loaderEl = useMemo(() => { if (props.loader) return props.loader - return - }, [props.loader]) + return + }, [props.loader, props.rounded]) // src const imageSrc = useMemo(() => { if (!props.src) return props.src