How to fix Async component function detected but component is not async in React | DevErrors