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
  • 47,845
  • 8
  • 52
  • 84
Polymood
  • 397
  • 3
  • 14

0 Answers0