chore: reverted unnecessary changes.

This commit is contained in:
🏎️ Yumo 2024-12-06 01:31:54 +08:00
parent f9301952f2
commit 6ee4ea5b89

View File

@ -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: {