Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Apr 30, 2023
1 parent c83ecea commit 3cfe75f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/mui-base/src/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ const Modal = React.forwardRef(function Modal<RootComponentType extends React.El
slots = {},
...other
} = props;
// TODO: `modal`` must change its type in this file to match the type of methods
// provided by `ModalManager`
const manager = managerProp as any;
const [exited, setExited] = React.useState(!open);
const modal = React.useRef<{
Expand Down

0 comments on commit 3cfe75f

Please sign in to comment.