From 884d0de90ba57cbd9a7131afbb3421708939897e Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 18 Nov 2015 22:22:19 +0000 Subject: [PATCH] s/React/ReactDOM/ to fix another 0.14 warning --- src/ContextualMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ContextualMenu.js b/src/ContextualMenu.js index 3327aa94..a7b1849e 100644 --- a/src/ContextualMenu.js +++ b/src/ContextualMenu.js @@ -43,7 +43,7 @@ module.exports = { var self = this; var closeMenu = function() { - React.unmountComponentAtNode(self.getOrCreateContainer()); + ReactDOM.unmountComponentAtNode(self.getOrCreateContainer()); if (props && props.onFinished) props.onFinished.apply(null, arguments); };