src/modules/portfolio/containers/positions.js
Function mapStateToProps
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const mapStateToProps = state => {
const positions = getLoginAccountPositions();
const openOrders = getOpenOrders();
const orphanedOrders = selectOrphanOrders(state);
const orphanedMarkets = [];
TODO found Open
Open
// TODO -- getting each section of markets should be it's own call
- Exclude checks