Skip to content

Commit 4a2bac1

Browse files
committed
Guard against null values for most recent query
1 parent 5645d34 commit 4a2bac1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/make-find-mixin.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ export default function makeFindMixin(options) {
191191
})
192192
}
193193
} else {
194-
this[MOST_RECENT_QUERY].isOutdated = true
194+
if (this[MOST_RECENT_QUERY]) {
195+
this[MOST_RECENT_QUERY].isOutdated = true
196+
}
195197
}
196198
}
197199
},

0 commit comments

Comments
 (0)