DEV Community

Discussion on: 💡 React Hooks: async function in the useEffect

Collapse
 
john1625b profile image
john1625b

I'm still getting the error

ESLint: Promises must be handled appropriately or explicitly marked as ignored with the `void` operator.(@typescript-eslint/no-floating-promises)

on the async word on the second line

Collapse
 
danialdezfouli profile image
Danial Dezfouli

Can you share your code?