ch4n3.yoon

[Edit] token값 localStorage에 적용

......@@ -56,9 +56,10 @@ const SignIn = () => {
const signIn = () => {
http.post('/login').then(response => {
const { success, code, data, message } = response.data
const { success, access_token } = response.data
if (success) {
localStorage.setItem('token', access_token)
setSuccess(true)
}
})
}
......