Skip to content

Commit

Permalink
fix(device-selection): add proptypes shim for popup
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
virtuacoplenny authored and yanas committed Nov 28, 2017
1 parent e4ed028 commit 2becfd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions react/features/device-selection/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2becfd0

Please sign in to comment.