TryGhost/Ghost

View on GitHub
apps/admin-x-settings/src/components/settings/general/users/StaffToken.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function StaffToken has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const StaffToken: React.FC = () => {
    const {refetch: apiKey} = getStaffToken({
        enabled: false
    });
    const handleError = useHandleError();

    There are no issues that match your filters.

    Category
    Status