Fix component async warning
Opened this issue · 0 comments
nathan-isaac commented
console.error node_modules/react-dom/cjs/react-dom.development.js:545
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in Thing (at App.js:6)
in App (at App.test.js:7)