diff --git a/packages/x-date-pickers/src/internals/components/PickersToolbar.tsx b/packages/x-date-pickers/src/internals/components/PickersToolbar.tsx index 47a6e0fa53da..680cf8d90a2e 100644 --- a/packages/x-date-pickers/src/internals/components/PickersToolbar.tsx +++ b/packages/x-date-pickers/src/internals/components/PickersToolbar.tsx @@ -16,11 +16,10 @@ export interface PickersToolbarProps) => { - const { classes, isLandscape } = ownerState; + const { classes } = ownerState; const slots = { root: ['root'], content: ['content'], - penIconButton: ['penIconButton', isLandscape && 'penIconButtonLandscape'], }; return composeClasses(slots, getPickersToolbarUtilityClass, classes);