From 2a01985076a54009c029b79df7141f7f8ec40884 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 6 Dec 2017 19:07:12 +0000 Subject: [PATCH] better proptypes --- src/components/views/dialogs/UnknownDeviceDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/dialogs/UnknownDeviceDialog.js b/src/components/views/dialogs/UnknownDeviceDialog.js index ea99fff214..9c19ee6eca 100644 --- a/src/components/views/dialogs/UnknownDeviceDialog.js +++ b/src/components/views/dialogs/UnknownDeviceDialog.js @@ -103,8 +103,8 @@ export default React.createClass({ propTypes: { room: PropTypes.object.isRequired, - // map from userid -> deviceid -> deviceinfo - devices: PropTypes.object.isRequired, + // map from userid -> deviceid -> deviceinfo or null if devices are not yet loaded + devices: PropTypes.object, onFinished: PropTypes.func.isRequired,