Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Apr 3, 2024
1 parent 9209221 commit 87ba21c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ const childrenWarning = buildWarning([
*
* - [RichTreeView API](https://mui.com/x/api/tree-view/rich-tree-view/)
*/
const RichTreeViewPro = React.forwardRef(function RichTreeView<
const RichTreeViewPro = React.forwardRef(function RichTreeViewPro<
R extends {},
Multiple extends boolean | undefined = undefined,
>(inProps: RichTreeViewProProps<R, Multiple>, ref: React.Ref<HTMLUListElement>) {
const props = useThemeProps({ props: inProps, name: 'MuiRichTreeView' });
const props = useThemeProps({ props: inProps, name: 'MuiRichTreeViewPro' });

if (process.env.NODE_ENV !== 'production') {
if ((props as any).children != null) {
Expand Down

0 comments on commit 87ba21c

Please sign in to comment.