Skip to content

Commit c53332b

Browse files
committed
Remove unneeded error check in queries section
1 parent c8ad74e commit c53332b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/data/queries.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ The promise resolves with an object that includes the error and any partial data
502502
const handleClick = async () => {
503503
const { data, error } = await getDogs();
504504

505-
if (error && CombinedGraphQLErrors.is(error)) {
505+
if (CombinedGraphQLErrors.is(error)) {
506506
// handle GraphQL errors returned by the query
507507
}
508508
};

0 commit comments

Comments
 (0)