From 5d35df8afa12488ef774b2a1236e8359cad3342a Mon Sep 17 00:00:00 2001 From: leeight Date: Thu, 15 Sep 2016 22:35:06 -0700 Subject: [PATCH] Add missing return, FIX #9886 Summary: cc sahrens FIX #9886 Closes https://github.com/facebook/react-native/pull/9938 Differential Revision: D3875766 Pulled By: sahrens fbshipit-source-id: c3eb7f8203db80403de3b789eea907651bc333da --- Libraries/Interaction/InteractionManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Interaction/InteractionManager.js b/Libraries/Interaction/InteractionManager.js index a22f7669a..5beb56e59 100644 --- a/Libraries/Interaction/InteractionManager.js +++ b/Libraries/Interaction/InteractionManager.js @@ -101,7 +101,7 @@ var InteractionManager = { then: promise.then.bind(promise), done: (...args) => { if (promise.done) { - promise.done(...args); + return promise.done(...args); } else { console.warn('Tried to call done when not supported by current Promise implementation.'); }