1

Where do I specify the name of the document that i want to create ?

      const userProjectsColRef = collection(db, 'users');
      const newProjectDocRef = await addDoc(
        userProjectsColRef,
        generalData
      );
Dharmaraj
  • 29,469
  • 5
  • 26
  • 55
Polymood
  • 157
  • 1
  • 9

0 Answers0