mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-19 20:08:43 +08:00
chore: reverted unnecessary changes.
This commit is contained in:
parent
f9301952f2
commit
6ee4ea5b89
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user