pankod/refine

View on GitHub
packages/devtools/src/utilities/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getPanelPosition has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const getPanelPosition = (placement: Placement) => {
  switch (placement) {
    case "left":
      return {
        left: `calc(${SIZE}px + ${BUFFER}px)`,
Severity: Minor
Found in packages/devtools/src/utilities/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status