diff --git a/packages/ra-ui-materialui/src/layout/Notification.tsx b/packages/ra-ui-materialui/src/layout/Notification.tsx index d5557e3370b..d3e6213f72f 100644 --- a/packages/ra-ui-materialui/src/layout/Notification.tsx +++ b/packages/ra-ui-materialui/src/layout/Notification.tsx @@ -92,7 +92,7 @@ export const Notification = (props: NotificationProps) => { ContentProps={{ className: clsx(NotificationClasses[messageInfo.type || type], { [NotificationClasses.multiLine]: - messageInfo.multiLine || multiLine, + messageInfo.notificationOptions.multiLine || multiLine, }), }} action={