From 5f0e475ccc181e0364279eeb16b622f7be1c0c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ethan=20Jeong=20/=20=EC=A0=95=EC=A4=80=EC=9D=BC?= <76644123+EthanJcoding@users.noreply.github.com> Date: Wed, 10 Jul 2024 21:12:15 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85?= =?UTF-8?q?=EC=8B=9C=20=EC=A7=80=EA=B8=89=EB=90=98=EB=8A=94=20=EC=BA=90?= =?UTF-8?q?=EC=8B=9C=EC=9D=98=20=ED=83=80=EC=9E=85=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/firebase/firebase.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/firebase/firebase.tsx b/client/src/firebase/firebase.tsx index 8746655a..0dacb1e4 100644 --- a/client/src/firebase/firebase.tsx +++ b/client/src/firebase/firebase.tsx @@ -329,7 +329,7 @@ export async function getUserArticle(uid: string) { export async function userInitData(uid: string) { const ref = doc(db, 'user', uid); const snapshot = await getDoc(ref); - await setDoc(ref, { cash: '1000000', isActive: true, cartItems: [] }); + await setDoc(ref, { cash: 1000000, isActive: true, cartItems: [] }); return snapshot.data(); }