Unable to Fetch Data Using useQuery in Convex
Hi ,
I'm having trouble fetching data from my Convex database using the useQuery hook. I'm currently working on a TodoList component in a Next.js project and unable to get any data from the database, and in database todos table is not empty. Here’s the code I’m using:
And the todos.ts file is
Please help me fixing this issue.
0 Replies