You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/query-core/src/query.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -464,7 +464,7 @@ export class Query<
464
464
`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`,
465
465
)
466
466
}
467
-
onError(newError('undefined')asany)
467
+
onError(newError(`${this.queryHash} data is undefined`)asany)
0 commit comments