libraries/withData.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getInitialProps has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    static async getInitialProps(ctx: Context) {
      let apolloState = {};
      let serverState = {};

      const headers = ctx.req ? ctx.req.headers : {};
Severity: Minor
Found in libraries/withData.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status