clarC
Convex Communityβ€’5mo agoβ€’
2 replies
clar

TypeError: Cannot read properties of undefined (reading 'logger') while using react convex agent kit

I am using @convex-dev/agent/react in as shown example in the docs.

But still getting the error that convexClient is undefined

Although if i am using useConvex hook inside my component it's not undefined

I am using "useThreadMessages" hook that uses the usePaginatedQuery hook from "convex-helpers/react" seems that is the root cause of the error
Was this page helpful?