Skip to content

Commit fc11c65

Browse files
committed
Remove commented code
1 parent d7bda3c commit fc11c65

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/core/ObservableQuery.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -867,8 +867,7 @@ Did you mean to call refetch(variables) instead of refetch({ variables })?`,
867867
this.transformDocument(this.options.query)
868868
: combinedOptions.query;
869869

870-
// let wasUpdated = false;
871-
870+
let wasUpdated = false;
872871
const isCached = this.options.fetchPolicy !== "no-cache";
873872

874873
if (!isCached) {
@@ -891,7 +890,6 @@ Did you mean to call refetch(variables) instead of refetch({ variables })?`,
891890
{ shouldEmit: EmitBehavior.networkStatusChange }
892891
);
893892

894-
let wasUpdated = false;
895893
const { promise, operator } = getTrackingOperatorPromise(
896894
(value: QueryNotification.Value<TFetchData>) => {
897895
switch (value.kind) {

0 commit comments

Comments
 (0)