Error handling with a query in React - Convex Community