Data fetching - query filter using Next.js router.query returns error.
Unhandled Runtime Error
Error: Objects are not valid as a React child (found: object with keys {code, details, hint, message}). If you meant to render a collection of children, use an array instead.... Sometimes it will will work but on refresh, it returns the error.
Error: Objects are not valid as a React child (found: object with keys {code, details, hint, message}). If you meant to render a collection of children, use an array instead.... Sometimes it will will work but on refresh, it returns the error.
