Commit da88857d authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

로그인 할 때 로컬저장소에 역할 추가

parent 1574f869
......@@ -18,6 +18,7 @@ export const handleLogin = async (email: string, password: string) => {
LOCAL_USER_INFO,
JSON.stringify({
isLoggedIn: user.isLoggedIn,
role: user.role,
})
);
return user;
......@@ -58,4 +59,3 @@ export const getLocalUser = () => {
}
return user;
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment