OasisDEX/oasis-react

View on GitHub
src/components/TransactionStatus.jsx

Summary

Maintainability
A
1 hr
Test Coverage
D
61%

Function render has 60 lines of code (exceeds 50 allowed). Consider refactoring.
Open

  render() {
    const { transaction } = this.props;
    switch (transaction.get("txStatus")) {
      case TX_STATUS_AWAITING_USER_ACCEPTANCE:
        return (
Severity: Major
Found in src/components/TransactionStatus.jsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status