I think if you remove this state from useFetch completely, it ought to work ... To get data from a third-party API in code, we would be using async/await.
確定! 回上一頁