ERROR TypeError: queryClient.getMutationDefaults is not a function (it is undefined)
using version 10.45.2
const { mutate: joinChallenge } = api.challenges.join.useMutation();
const handleJoinChallenge = () => {
};
joinChallenge({
challengeId: id,
});
};