I get the error :
Cannot read property 'then' of undefined
when I run my react project The code is as follows
getQuestions = () => { quickService().then(question => { this.setState({ questionBank: question }); }); };
2.1m questions
2.1m answers
60 comments
57.0k users