Folajoe's Posts
Nairaland Forum › Folajoe's Profile › Folajoe's Posts
1 (of 1 pages)
You need to call "displayUsers" fetch(api).then( (response) => { return response.json(); } ).then( ({results}) => { let [user] = results; users.push(user); return user; } ).then( (user) => { displayUsers(user); }with "user", but wrap it as an inline array. can you please help with this |
1 (of 1 pages)