Typescript error for mution.mutate #5799
Unanswered
thanhtutzaw
asked this question in
Q&A
Replies: 1 comment
-
your - mutationFn: async (pageParam) => ...
+ mutationFn: async (pageParam: string) => ... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I just got the ts error in mutate . I would like to update or delete data in UI . I already update or delete for firestore . But UI is not updating in first fetch . when It have cached , I can get update with invalidateQueries .
Beta Was this translation helpful? Give feedback.
All reactions