client/app/components/sections/SearchPage/SearchPage.js
Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { marketplace_color1: marketplaceColor1, displayBrandingInfo, linkToSharetribe } = { ...DEFAULT_CONTEXT, ...this.props.marketplace };
const displayBranding = this.props.marketplace && displayBrandingInfo && linkToSharetribe;
const searchResults = div(