diff --git a/src/index.js b/src/index.js index 3ea58a4..c4487c3 100644 --- a/src/index.js +++ b/src/index.js @@ -87,7 +87,7 @@ export default declare((api, options) => { } } - if (options.transform && options.transform) { + if (options.transform) { queryDocument = options.transform(finalSource, queryDocument); }