From b5b16dd439cf31e05bfb92dd2dcd5e045cc524fd Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Sat, 22 Apr 2017 21:09:03 +0200 Subject: [PATCH] Fix collect/ensureReady bug --- src/apollo-provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apollo-provider.js b/src/apollo-provider.js index a1979e9..4bcafeb 100644 --- a/src/apollo-provider.js +++ b/src/apollo-provider.js @@ -17,7 +17,7 @@ export class ApolloProvider { this._collectingOptions = finalOptions this._isCollecting = true this._ensureReadyPromise = null - return this.ensureReady + return this.ensureReady.bind(this) } ensureReady () {