State update on an unmounted component

  1. Start on "Notifications" page
  2. Go to random page
  3. Again go to random page
  4. You'll see a warning in console:

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 a useEffect cleanup function.

Edited by Maciej Lenartowicz
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information