Skip to content

Commit 84a4b08

Browse files
committed
๐Ÿ› fix: ๋ฒ„๊ทธ ์ˆ˜์ •
1 parent e1e5c91 commit 84a4b08

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

โ€Žsrc/pages/index.tsxโ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ const Login = () => {
5252
const response = await PostLogin(userId, password);
5353
const data = response;
5454

55-
const { accessToken, role } = data;
55+
const { accessToken, role, name } = data;
56+
setName(name);
5657

5758
localStorage.setItem("accessToken", accessToken);
5859
sendFcmTokenToServer();

0 commit comments

Comments
ย (0)