dbmedialab/reader-critics

View on GitHub
src/admin/components/modal/WebsiteModalComponent.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 65 lines of code (exceeds 40 allowed). Consider refactoring.
Open

    render (): JSX.Element {
        const {isOpen, name, ID, feedbackPage, feedbackNotificationMail} = this.props;
        const isDisabled = name && !ID;

        const captionAdd = (<div className="caption" key="add-website"><b>Add New Website</b></div>);
Severity: Major
Found in src/admin/components/modal/WebsiteModalComponent.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status