diff --git a/packages/provider/src/useStyle/index.ts b/packages/provider/src/useStyle/index.ts index 8f5799b4a728..4031bf6203bd 100644 --- a/packages/provider/src/useStyle/index.ts +++ b/packages/provider/src/useStyle/index.ts @@ -129,6 +129,10 @@ export function useStyle( token, path: [componentName], nonce: csp?.nonce, + layer: { + name: 'antd-pro', + dependencies: ['antd'] + } }, () => styleFn(token as ProAliasToken), ),