fix(fl_query_hooks): newest query/mutation/infinite-query instance not getting returned

This commit is contained in:
Kingkor Roy Tirtho
2022-09-23 09:50:22 +06:00
parent e0c3d7f4ba
commit 03a053bba6
6 changed files with 6 additions and 15 deletions
@@ -125,5 +125,5 @@ Query<T, Outside> useQuery<T extends Object, Outside>({
return null;
});
return query.value;
return queryBowl.getQuery(job.queryKey) ?? query.value;
}