React FireBase Add Doc à coleção

firebase
  .firestore()
  .collection("Users")
  .doc("mydoc")
  .collection("Activities")
  .doc("Database")
  .set({
    key: "1",
    value: "",
  })
  .then((ref) => { console.log(ref) });
Defiant Dove