TryGhost/Ghost

View on GitHub
apps/portal/src/components/pages/EmailSuppressionFAQ.js

Summary

Maintainability
A
1 hr
Test Coverage

Function EmailSuppressedPage has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function EmailSuppressedPage() {
    const {brandColor, onAction, site, t, pageData} = useContext(AppContext);

    const supportAddress = `mailto:${getSupportAddress({site})}`;
    const directAccess = (pageData && pageData.direct) || false;
Severity: Minor
Found in apps/portal/src/components/pages/EmailSuppressionFAQ.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status