Skip to content

Conversation

davidsilvamota
Copy link

Using async functions in useEffect is not supported anymore.

The function in useEffect should return nothing or a function (cleanup). This change fixes the problem (destroy is not a function)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant