ant-design-icons
ant-design-icons copied to clipboard
_iconsReact.default.add is undefined
Can't solve this issue. Whenever I try to run my React project I get the following error: _iconsReact.default.add is undefined
This error comes from the following file path (line 56):
/node_modules/lib/icon/index.js
The following code in that file seems to have some problems, because _iconsReact.default.add
stays undefined.
// Initial setting
_iconsReact["default"].add.apply(_iconsReact["default"], _toConsumableArray(Object.keys(allIcons).map(function (key) {
return allIcons[key];
})));
What can I do to resolve this issue?
Versions:
- webpack: 4.23.1
- babel-core: 7.0.0-bridge.0
- react: 16.3.1
- antd 3.13.6