best-doctor/ke

View on GitHub
src/DetailView/widgets/SelectWidget.tsx

Summary

Maintainability
A
3 hrs
Test Coverage
A
95%

Function BaseSelectWidget has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  (props: BaseSelectWidgetProps, ref): JSX.Element => {
    const {
      name,
      helpText,
      description,
Severity: Major
Found in src/DetailView/widgets/SelectWidget.tsx - About 2 hrs to fix

    Function SelectWidget has 36 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const SelectWidget = forwardRef<HTMLSelectElement, SelectWidgetProps>((props: SelectWidgetProps, ref): JSX.Element => {
      const {
        name,
        displayValue,
        containerStore,
    Severity: Minor
    Found in src/DetailView/widgets/SelectWidget.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status