airbnb/caravel

View on GitHub
superset-frontend/src/components/ModalTrigger/index.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function ModalTrigger has 69 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  (props: ModalTriggerProps, ref: ModalTriggerRef | null) => {
    const [showModal, setShowModal] = useState(false);
    const {
      beforeOpen = () => {},
      onExit = () => {},
Severity: Major
Found in superset-frontend/src/components/ModalTrigger/index.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status