Closed kabaluyot closed 3 years ago
The example for the Post component has method fetchPost that returns a Promise type. The function must be in async-await.
Thanks but you can also directly return a Promise object.
The example for the Post component has method fetchPost that returns a Promise type.
The function must be in async-await.