gocodebox/lifterlms

View on GitHub
src/blocks/course-syllabus/index.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Edit has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Edit = ( props ) => {
    const { attributes, setAttributes } = props;
    const blockProps = useBlockProps();
    const isLlmsPostType = useLlmsPostType();
    const courseOptions = usePostOptions();
Severity: Minor
Found in src/blocks/course-syllabus/index.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status