sideEffect on useMutation not working
Hey, I am trying to update a state upon success of a useMutation, before I added the sideEffect itt was all working fine but when I implemented the onSuccess side effect I am getting error I posted below. postMessage is an asycn function I am exporting from another file. It takes 3 parameters sessionId, userId, input

