Skip to content

Commit

Permalink
[pickers] Improve TypeScript performance in PickersDay (mui#12920)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle authored and DungTiger committed Jul 23, 2024
1 parent 0dbdd93 commit 7ee5ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-date-pickers/src/PickersDay/PickersDay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const PickersDayRaw = React.forwardRef(function PickersDay<TDate extends PickerV
inProps: PickersDayProps<TDate>,
forwardedRef: React.Ref<HTMLButtonElement>,
) {
const props = useThemeProps<Theme, PickersDayProps<TDate>, 'MuiPickersDay'>({
const props = useThemeProps({
props: inProps,
name: 'MuiPickersDay',
});
Expand Down

0 comments on commit 7ee5ef9

Please sign in to comment.