Never mind I’ve solved the issue. Yet, still working to refactor the fetch call into a useeffect hook.