You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I cannot seem to pass mutliple arguments to a function created with the useMutation hook.
To Reproduce
// create a mutationconst[mutation]=useMutation((...elements)=>console.log(elements));// execute the mutation with multiple parametersmutation(1,2,3);// output is this:[1]
Expected behavior
I'd expect the full array of arguments like this: