I am starting to play around with React to create a Qlik Sense mashup and am encountering issues when trying to retrieve an app listing on the Qlik Sense Server. Below is the following code where I encounter an error in the second .then with an error of Unhandled Rejection (TypeError): Cannot read properties of undefined (reading 'then').
The first console.log(app) appears to be working in the console and I have attached a screenshot for reference.