soldotno/aurora-core

View on GitHub
src/decorators/with-visibility.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function withVisibilityDecorator(Component) {
  class withVisibility extends React.Component {
    // Add a specific display name
    static displayName = `${getDisplayName(Component)}WithVisibility`;

Severity: Minor
Found in src/decorators/with-visibility.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status