We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cdda53 commit 213c3a4Copy full SHA for 213c3a4
components/config-provider/index.tsx
@@ -72,9 +72,10 @@ const setGlobalConfig = (params: GlobalConfigProviderProps & { theme?: Theme })
72
}
73
stopWatchEffect = watchEffect(() => {
74
Object.assign(globalConfigBySet, reactive(params));
75
+ Object.assign(globalConfigForApi, reactive(params));
76
});
77
if (params.theme) {
- registerTheme(params.prefixCls ?? getGlobalPrefixCls(), params.theme);
78
+ registerTheme(getGlobalPrefixCls(), params.theme);
79
80
};
81
0 commit comments