import axios from "axios" //자동으로 localstorage에 login이 생성됨 export function handleLogin() { localStorage.setItem('loginStatus', 'true') } export async function handleLogout() { localStorage.removeItem('loginStatus') await axios.get('/api/auth/logout') }