mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
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
This commit is contained in:
parent
44b0e6b91f
commit
5d35df8afa
@ -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.');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user