Showing 12 of 31 total issues
Function render
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<StaticQuery
query={graphql`
query settings {
Function render
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const pageContent = (
<ContextConsumer>
{({ set }) => {
return <>
Function render
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const pageContent = (
<ContextConsumer>
{({ set }) => {
return <>
Function render
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render () {
const pageContent = (
<ContextConsumer>
{({ set }) => {
return <>
Function render
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const pageContent = (
<>
<h1>Sign Up</h1>
<Mutation mutation={CUSTOMER_CREATE}
Function render
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<AccountLayout>
<h1>Account Dashboard</h1>
<ContextConsumer>
Function render
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const pageContent = (
<>
<h1>Forgot Your Password</h1>
<Mutation mutation={CUSTOMER_RESET}>
Function render
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const product = this.props.data.shopify.shop.productByHandle
let variant = this.state.selectedVariant || product.variants.edges[0].node
let variantImage = this.state.selectedVariantImage || product.images.edges[0].node.src
Function render
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
if (!this.props.products) {
return <p>Your cart is currently empty.</p>
}
Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const lineItemID = this.props.id;
return (
<ContextConsumer>
Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Confirmed
Confirmed
render() {
const {
handle,
title,
images,
Function getMoreProducts
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getMoreProducts = async function (currentCursor) {
const productsCache = await graphql(`
query getAllProducts($previousProduct: String!, $limit: Int!) {
shopify {
shop {