livepeer / livepeer-monorepo

JavaScript tools and applications that interact with Livepeer's smart contracts and peer-to-peer network
https://livepeer.org
MIT License
166 stars 71 forks source link

Orchestrator page crashes if connected to wallet #912

Closed darkdarkdragon closed 3 years ago

darkdarkdragon commented 3 years ago

Describe the bug (required) When orchestrator page (for example) I can see page for a while, and then it flash and blank aftewards. Happens only if connected to the wallet.

Expected behavior (required) To work.

Device (required):

Console logs (optional)

framework.267421aa1580e303f9d7.js:1 TypeError: Cannot read property 'totalStake' of undefined
    at N (9220bc36e09722ab13cacfec4107c3ba9e8fe93d.95cee354a4bdf290516c.js:1)
    at Oo ([slug]-4a0cf1800519644ebb88.js:1)
    at Gi (framework.267421aa1580e303f9d7.js:1)
    at xa (framework.267421aa1580e303f9d7.js:1)
    at yu (framework.267421aa1580e303f9d7.js:1)
    at mu (framework.267421aa1580e303f9d7.js:1)
    at au (framework.267421aa1580e303f9d7.js:1)
    at framework.267421aa1580e303f9d7.js:1
    at t.unstable_runWithPriority (framework.267421aa1580e303f9d7.js:1)
    at Bl (framework.267421aa1580e303f9d7.js:1)
main-21cd8f274bb225ae5658.js:1 TypeError: Cannot read property 'totalStake' of undefined
    at N (9220bc36e09722ab13cacfec4107c3ba9e8fe93d.95cee354a4bdf290516c.js:1)
    at Oo ([slug]-4a0cf1800519644ebb88.js:1)
    at Gi (framework.267421aa1580e303f9d7.js:1)
    at xa (framework.267421aa1580e303f9d7.js:1)
    at yu (framework.267421aa1580e303f9d7.js:1)
    at mu (framework.267421aa1580e303f9d7.js:1)
    at au (framework.267421aa1580e303f9d7.js:1)
    at framework.267421aa1580e303f9d7.js:1
    at t.unstable_runWithPriority (framework.267421aa1580e303f9d7.js:1)
    at Bl (framework.267421aa1580e303f9d7.js:1)

Additional context (optional) Add any other context about the problem here.