update user_id 6

This commit is contained in:
Mohamed Nouffer
2023-07-26 18:14:36 +05:30
parent fb7e2f57df
commit 52aea0d075
9 changed files with 17 additions and 15 deletions

View File

@ -117,7 +117,9 @@ const TheContent = () => {
fetchUser().then(() => {
if(UserId === ''){
let id = Math.floor(100000 + Math.random() * 900000)
setUserId(id);
if(isDataFetched) {
setUserId(id);
}
}
setIsDataFetched(true);