From 6ae96f895a932137364bfed6980f3b63b8e2bbf8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=ED=95=9C=EB=8F=99=ED=98=84?= <hando1220@ajou.ac.kr>
Date: Tue, 13 May 2025 16:29:18 +0900
Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EC=A7=81?=
 =?UTF-8?q?=ED=9B=84=20=EC=84=A0=ED=83=9D=ED=95=9C=20=ED=94=84=EB=A1=9C?=
 =?UTF-8?q?=EC=A0=9D=ED=8A=B8=20=EC=A0=95=EB=B3=B4=EB=A5=BC=20=EB=B6=88?=
 =?UTF-8?q?=EB=9F=AC=EC=98=A4=EC=A7=80=20=EB=AA=BB=ED=95=98=EB=8A=94=20?=
 =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/stores/authStore.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stores/authStore.ts b/src/stores/authStore.ts
index e3d0813..7ace444 100644
--- a/src/stores/authStore.ts
+++ b/src/stores/authStore.ts
@@ -56,7 +56,7 @@ export const useAuthStore = create<AuthStore>()(
         const { isAdmin, projects } = await response.json();
 
         set({ token, username, isAdmin, projects });
-        get().setSelectedProject(projects[0]);
+        await get().setSelectedProject(projects[0]);
       },
       logout: () => set({ token: null, username: '', isAdmin: false, projects: [], selectedProject: null }),
     }),
-- 
GitLab