Skip to content

Commit

Permalink
✨ feat: Support response to antd-cssinjs cascade layer config (#8904)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 authored Dec 13, 2024
1 parent 21ce755 commit a217d5b
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 a217d5b

Please sign in to comment.