Prefetch Query error - Next.js
Hi everyone.
I'm currently have this error when try prefetch a query on
getServerSideProps.
This is my code:
Anyone can help me?
6 Replies
molecular-blueOP•3y ago
Anyone?
deep-jade•3y ago
getCustomers returns something that isn't json serializable
molecular-blueOP•3y ago
I found the problem
I'm returning the entire response
but which data I need to return?
Because in the moment the
isSuccess on mutation it's returning false but it's truemolecular-blueOP•3y ago
this is my mutation

molecular-blueOP•3y ago

molecular-blueOP•3y ago
this is the method I'm calling to update the customer