We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
profile
1 parent f3c3810 commit ba78437Copy full SHA for ba78437
examples/with-firebase/pages/index.js
@@ -20,9 +20,7 @@ export default function Home() {
20
21
const createUser = async () => {
22
const db = getFirestore()
23
- await setDoc(doc(db, 'profile', profile.username), {
24
- profile,
25
- })
+ await setDoc(doc(db, 'profile', profile.username), profile)
26
27
alert('User created!!')
28
}
0 commit comments