bitshares / bitshares/bitshares-ui
Can't switch to market trades when there isn't any history trades
Open
- Dominant language
- JavaScript
- Stars
- 520
- Forks
- 575
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 5
Description
**Describe the bug**
Open a new trading pair without any history trades, then switch to market trades tab. An error occurs:
TypeError: Cannot read property 'length' of null
**To Reproduce**
Steps to reproduce the behavior:
1. Open https://wallet.bitshares.org/#/market/CRYPTRADE.CRCO_CRYPTRADE.BTC
2. Switch to "MARKET TRADES"
**Expected behavior**
Can switch to "MARKET TRADES" tab.
**Screenshots**

**Desktop (please complete the following information):**
- OS: OSX
- Browser Chorme
- Version 2.0.181129
Contributor guide
Assessment
This issue has not been assessed yet.