fix(device-selection): add proptypes shim for popup
AtlasKit is not fully compatible with React 16. One problem is PropTypes will not be defined on the React object. So, add the prop-types shim to the popup bundle.
This commit is contained in:
parent
e4ed02815f
commit
2becfd026b
|
@ -3,6 +3,9 @@
|
|||
import 'aui-css';
|
||||
import 'aui-experimental-css';
|
||||
|
||||
// FIXME: remove once atlaskit work with React 16.
|
||||
import '../base/react/prop-types-polyfill.js';
|
||||
|
||||
import DeviceSelectionPopup from './DeviceSelectionPopup';
|
||||
|
||||
let deviceSelectionPopup;
|
||||
|
|
Loading…
Reference in New Issue