Closed alfonsusac closed 9 months ago
session()
Cookie key: "token" Payload key in localstorage: "user"
js-cookie
This function is client-side only.
You may test (but you don't need to):
useEffect(()=>{ console.log(session()) },[])
session()
function in /lib/session.jsCookie key: "token" Payload key in localstorage: "user"
js-cookie
This function is client-side only.
You may test (but you don't need to):