neet/refined-itsukara-link

View on GitHub
packages/@neet/vschedule-client/src/components/ui/Modal/Modal.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function ModalPure has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ModalPure = (props: ModalProps): JSX.Element | null => {
  const { show, title, children, className, getRoot, getContainer, onHide } =
    props;

  const root = getRoot instanceof Element ? getRoot : getRoot?.();
Severity: Major
Found in packages/@neet/vschedule-client/src/components/ui/Modal/Modal.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status