How to use useMutation with create t3 app

i tried implementing useMutation but i could not get it to work... i tried this (https://trpc.io/docs/useMutation) solution i found on the trpc docs but could not get it to work any help is appreciated!
useMutation() | tRPC
The hooks provided by @trpc/react-query are a thin wrapper around @tanstack/react-query. For in-depth information about options and usage patterns, refer to their docs on mutations.
1 Reply
shu
shu2y ago
nvm i figured it out :)
Want results from more Discord servers?
Add your server