Follow = ({
  userDetails,
  followed,
  updateFollowings,
  updateFollowers,
  dispatch,
}) => {
  let { user, username, firstname, surname } = userDetails

  let followUser = e => {
    e.preventDefault()
    let obj = {
      user,
      username,
      firstname,
      surname,
      dispatch,
      update_followings: updateFollowings,
      update_followers: updateFollowers,
      done: () => followed(),
    }
    follow(obj)
  }

  return (
    <Fragment>
      <PrimaryButton label="Follow" onClick={followUser} extraClass="follow" />
    </Fragment>
  )
}
If there's no need to update store, then only provide user, username (within userDetails) & followed arguements.

Provide firstname & surname when update_followings=true