reflow-project / weloop

WeLoop is a React/TypeScript client for ZenPub and a key component of ReflowOS
https://weloop.reflowproject.eu
GNU Affero General Public License v3.0
5 stars 5 forks source link

Potential memory leak #163

Open pral2a opened 2 years ago

pral2a commented 2 years ago

Visit: http://localhost:4000/user/01EYJR67EAYVWRW5Z87HNGN16X/inventory

Screenshot 2021-11-29 at 12 55 29

index.js:1 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 a useEffect cleanup function.
    in Inventory (at InventoryPage.tsx:273)
    in InventoryPage (at UserPage.tsx:162)
    in Route (at user/index.tsx:84)
    in Switch (at user/index.tsx:83)
    in div (created by Context.Consumer)
    in StyledComponent (created by Styled(Styled(styled.div)))
    in Styled(Styled(styled.div)) (at user/index.tsx:72)
    in div (created by Context.Consumer)
    in StyledComponent (created by Styled(Styled(styled.div)))
    in Styled(Styled(styled.div)) (at user/index.tsx:71)
    in div (created by Context.Consumer)
    in StyledComponent (created by Styled(Styled(styled.div)))
    in Styled(Styled(styled.div)) (at user/index.tsx:70)
    in User (at UserPage.tsx:214)
    in UserPage (at UserPageRoute.tsx:46)
    in div (created by Context.Consumer)
    in StyledComponent (created by Styled(styled.div))
    in Styled(styled.div) (at guest.tsx:26)
    in div (created by Context.Consumer)
    in StyledComponent (created by Styled(styled.div))
    in Styled(styled.div) (at guest.tsx:17)
    in Guest (at Guest.tsx:18)
    in ProvideSideBarContext (at Guest.tsx:17)
    in GuestTemplate (at WithSidebar.tsx:40)