added change in user_id posting to server
This commit is contained in:
@ -53,6 +53,13 @@ const TheContent = () => {
|
||||
.catch((err) => {
|
||||
console.log("AXIOS ERROR: ", err);
|
||||
});
|
||||
|
||||
if(result === "OK"){
|
||||
|
||||
}else{
|
||||
setUserData(result);
|
||||
}
|
||||
|
||||
console.log("user data posted");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user