How to implement a useMutation call from table row onClick action? - TanStack