best-doctor/ke

View on GitHub
src/Wizard/Wizard.tsx

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Function Wizard has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const Wizard = <Key extends string, Action extends string, StepData extends object>(
  props: WizardProps<Key, Action, StepData>
): JSX.Element => {
  const { start, steps, onFinish, onRestart, name, map } = props
  const [currentStep, setCurrentStep] = useState(start.step)
Severity: Minor
Found in src/Wizard/Wizard.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status