Error- ```TypeError: Cannot read property 'then' of undefined```
a
Error-
Copy code
TypeError: Cannot read property 'then' of undefined