You have no dependency list defined on your useEffect , so it is likely being rerun on every rerender of the component.
確定! 回上一頁