dsifford/academic-bloggers-toolkit

View on GitHub
src/js/gutenberg/dialogs/add-reference/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function AddReferenceDialog has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function AddReferenceDialog() {
const { addReference } = useDispatch('abt/data');
const [isOpen, setIsOpen] = useState(false);
const toggleDialog = () => setIsOpen(!isOpen);
return (
Severity: Minor
Found in src/js/gutenberg/dialogs/add-reference/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status