visible/visible

View on GitHub
packages/@visi/web-client/src/utils/apollo.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

const createLink = () => {
  const { publicRuntimeConfig, serverRuntimeConfig } = getConfig();

  const httpApiUrl =
    serverRuntimeConfig.httpApiUrl ?? publicRuntimeConfig.httpApiUrl;
Severity: Minor
Found in packages/@visi/web-client/src/utils/apollo.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status