From 2becfd026bbbf8eaa09c0c662d922ea1f89bc434 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Mon, 27 Nov 2017 18:31:59 -0800 Subject: [PATCH] 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. --- react/features/device-selection/popup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/react/features/device-selection/popup.js b/react/features/device-selection/popup.js index 99621e0c61a9..d44c9777281b 100644 --- a/react/features/device-selection/popup.js +++ b/react/features/device-selection/popup.js @@ -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;