leapdao / bridge-ui

dApp for interacting with LeapDAO chain
https://testnet.leapdao.org
GNU General Public License v3.0
11 stars 5 forks source link

make Monitor component to work with websocket endpoints without http workaround #189

Open troggy opened 5 years ago

troggy commented 5 years ago

Get rid of this fragile logic https://github.com/leapdao/bridge-ui/blob/e69f1dea9cc4a85d63d2123af6e09c58a2bc9385/src/components/monitor.tsx#L6-L11

sunify commented 5 years ago

Just use web3. I copy-pasted it from health check page. Web3 was way too big to add it for one simple request