From 6ee4ea5b898f6adf09bf33b3666057453c504f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8F=8E=EF=B8=8F=20Yumo?= Date: Fri, 6 Dec 2024 01:31:54 +0800 Subject: [PATCH] chore: reverted unnecessary changes. --- components/theme/util/useResetIconStyle.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/theme/util/useResetIconStyle.ts b/components/theme/util/useResetIconStyle.ts index 237f62a41a..96f3b03f96 100644 --- a/components/theme/util/useResetIconStyle.ts +++ b/components/theme/util/useResetIconStyle.ts @@ -16,14 +16,14 @@ export const genIconStyle = (iconPrefixCls = defaultIconPrefixCls): CSSObject => }); const useResetIconStyle = (iconPrefixCls: string, csp?: CSPConfig) => { - const [theme, token, hashId] = useToken(); + const [theme, token] = useToken(); // Generate style for icons return useStyleRegister( { theme, token, - hashId, + hashId: '', path: ['ant-design-icons', iconPrefixCls], nonce: () => csp?.nonce!, layer: {