Good evening.
I'm having a problem getting the spiner with block on how much the execution of the promise is being made, but it's not working.
this.fileLoad().then(
(content)=>{
user.photo = content;
let objUser = new classUser(
user.admin,
user.birth,
user.country,
user.email,
user.gender,
user.name,
user.password,
user.photo);
this.addUser(objUser);
return "value1";
}).then((teste) =>{
document.querySelector(".spining").style.display = "block";
console.log(teste);
return "value2"
}).then((teste2) => {
console.log(teste2);
document.querySelector(".spining").style.display = "none";
this.forin(10000);
return "value3";
}).catch((erro) => {