;               setState(newState);             })             .catch(response => {               console.log(response);             });         }, 000);       }),       new Promise(resolve => {         setTimeout(() => {           resolve();           /