Skip to content

Commit

Permalink
✨ feat: Support response to antd-cssinjs cascade layer config
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 committed Dec 4, 2024
1 parent 21ce755 commit e2f306d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/provider/src/useStyle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ export function useStyle(
token,
path: [componentName],
nonce: csp?.nonce,
layer: {
name: 'antd-pro',
dependencies: ['antd']
}
},
() => styleFn(token as ProAliasToken),
),
Expand Down

0 comments on commit e2f306d

Please sign in to comment.