2035Builder2
tRPC2y ago
2 replies
2035Builder

ERROR TypeError: queryClient.getMutationDefaults is not a function (it is undefined)

  const { mutate: joinChallenge } = api.challenges.join.useMutation();
 const handleJoinChallenge = () => {
      };
    joinChallenge({
      challengeId: id,
    });
  };

using version 10.45.2
Was this page helpful?