diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js
index 21a7ab9330..6d722a72b2 100644
--- a/src/components/structures/MessagePanel.js
+++ b/src/components/structures/MessagePanel.js
@@ -15,6 +15,7 @@ limitations under the License.
 */
 
 var React = require('react');
+var ReactDOM = require("react-dom");
 var sdk = require('../../index');
 
 /* (almost) stateless UI component which builds the event tiles in the room timeline.