auth.js 237 Bytes
Newer Older
Kim, Subin's avatar
context    
Kim, Subin committed
1
2
3
4
5
6
7
8
9
export function getLoggedIn() {
    const loggedData = localStorage.getItem("login");
    let loggedIn = null;
    if (loggedData) {
        // loggedIn = JSON.parse(loggedData);
        loggedIn = loggedData
    }
    return loggedIn;
}