DemocracyOS/app

View on GitHub
lib/site/topic-layout/topic-article/poll/component.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render () {
    if (this.props.user.state.pending) return null

    const { user, topic } = this.props
    const { results, changingVote, selected } = this.state
Severity: Major
Found in lib/site/topic-layout/topic-article/poll/component.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status