We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2bcad6 commit 1ceecd4Copy full SHA for 1ceecd4
src/config-provider/index.jsx
@@ -23,6 +23,7 @@ const setMomentLocale = locale => {
23
let moment;
24
try {
25
moment = require('moment');
26
+ if (moment.default && moment.default.isMoment) moment = moment.default;
27
} catch (e) {
28
// ignore
29
}
0 commit comments