Skip to content

Commit 5417d92

Browse files
authored
fix: configProvider is not a function (#2355)
1 parent 44c0485 commit 5417d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/alert/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const Alert = {
9595

9696
render() {
9797
const { prefixCls: customizePrefixCls, banner, closing, closed } = this;
98-
const getPrefixCls = this.configProvider().getPrefixCls;
98+
const getPrefixCls = this.configProvider.getPrefixCls;
9999
const prefixCls = getPrefixCls('alert', customizePrefixCls);
100100

101101
let { closable, type, showIcon } = this;

0 commit comments

Comments
 (0)