src/client/components/pages/parts/call-to-action.js
Function CallToAction
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function CallToAction(props) {
const seedingParameters = new URLSearchParams({name: props.query});
function renderEntityLink(type) {
return (
<a href={`/${camelCase(type)}/create?${seedingParameters}`}>