Skip to content

Commit

Permalink
trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed May 29, 2024
1 parent 9dfcc54 commit 7dc5cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-material/src/ListItemText/ListItemText.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const ListItemText = React.forwardRef(function ListItemText(inProps, ref) {
externalForwardedProps,
ownerState,
});
delete primarySlotProps.ownerState;

if (primary != null && primary.type !== Typography && !disableTypography) {
primary = (
<PrimarySlot
Expand All @@ -124,7 +124,7 @@ const ListItemText = React.forwardRef(function ListItemText(inProps, ref) {
</PrimarySlot>
);
}
delete secondarySlotProps.ownerState;

if (secondary != null && secondary.type !== Typography && !disableTypography) {
secondary = (
<SecondarySlot
Expand Down

0 comments on commit 7dc5cb7

Please sign in to comment.