update user_id 9
This commit is contained in:
@ -107,7 +107,7 @@ const TheContent = () => {
|
||||
}
|
||||
|
||||
function get_token_from_storage_or_cookie() {
|
||||
//return true;
|
||||
if(isDataFetched) return true;
|
||||
const cookies = new Cookies();
|
||||
const shib = cookies.get('_shibsession_64656661756c7468747470733a2f2f66627373736f2e74732e62697a736964652e62697a2f73686962626f6c657468')
|
||||
if (shib !== undefined) {
|
||||
@ -117,9 +117,7 @@ const TheContent = () => {
|
||||
fetchUser().then(() => {
|
||||
if(UserId === ''){
|
||||
let id = Math.floor(100000 + Math.random() * 900000)
|
||||
if(isDataFetched == false) {
|
||||
setUserId(id);
|
||||
}
|
||||
setUserId(id);
|
||||
}
|
||||
setIsDataFetched(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user