creating a custom useMutation hook
I'm struggling to create a custom mutation hook passing in variables and destrcuturing
If i add destructed params inside useMutation if get
If i add destructed params inside useMutation if get
property does not exist on type void Does this mean i need to pass generics to infer the types?