DemocracyOS/app

View on GitHub
lib/modals/confirm.js

Summary

Maintainability
A
1 hr
Test Coverage

Function confirm has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function confirm (options = {}) {
  if (typeof options === 'string') {
    options = { text: options.toString() }
  }

Severity: Minor
Found in lib/modals/confirm.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status