Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Apr 28, 2023
1 parent 34878fd commit c83ecea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-base/src/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const Modal = React.forwardRef(function Modal<RootComponentType extends React.El
hideBackdrop = false,
keepMounted = false,
// private
manager = defaultManager,
manager: managerProp = defaultManager,
onBackdropClick,
onClose,
onKeyDown,
Expand All @@ -90,7 +90,7 @@ const Modal = React.forwardRef(function Modal<RootComponentType extends React.El
slots = {},
...other
} = props;

const manager = managerProp as any;
const [exited, setExited] = React.useState(!open);
const modal = React.useRef<{
modalRef?: typeof modalRef.current;
Expand Down

0 comments on commit c83ecea

Please sign in to comment.