bookbrainz/bookbrainz-site

View on GitHub
src/client/components/pages/parts/call-to-action.js

Summary

Maintainability
A
1 hr
Test Coverage

Function CallToAction has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function CallToAction(props) {
    const seedingParameters = new URLSearchParams({name: props.query});
    function renderEntityLink(type) {
        return (
            <a href={`/${camelCase(type)}/create?${seedingParameters}`}>
Severity: Minor
Found in src/client/components/pages/parts/call-to-action.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status