From 2439815d3a4fe48538674bfc06bfd88f80b7844a Mon Sep 17 00:00:00 2001 From: dengfuping Date: Wed, 27 Mar 2024 15:21:01 +0800 Subject: [PATCH] fix(design): Empty style prop should work --- packages/design/src/empty/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/design/src/empty/index.tsx b/packages/design/src/empty/index.tsx index 747a7d5bf..8ed05ac31 100644 --- a/packages/design/src/empty/index.tsx +++ b/packages/design/src/empty/index.tsx @@ -40,7 +40,6 @@ const Empty: CompoundedComponent = props => { children, prefixCls: customizePrefixCls, className, - style, ...restProps } = props; const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);