Uncaught error on mutation - TanStack