From 4c1f8fe3f770087e39e596ca078b9e1fcb6fbf46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toprak=20Ko=C3=A7?= Date: Tue, 19 Mar 2024 19:23:11 +0300 Subject: [PATCH] Fixed Messages Missing MergeProps --- components/lib/messages/UIMessage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/lib/messages/UIMessage.js b/components/lib/messages/UIMessage.js index 7e3e8d6086..a51fffa446 100644 --- a/components/lib/messages/UIMessage.js +++ b/components/lib/messages/UIMessage.js @@ -7,10 +7,12 @@ import { InfoCircleIcon } from '../icons/infocircle'; import { TimesIcon } from '../icons/times'; import { TimesCircleIcon } from '../icons/timescircle'; import { Ripple } from '../ripple/Ripple'; -import { classNames, IconUtils, mergeProps } from '../utils/Utils'; +import { classNames, IconUtils } from '../utils/Utils'; +import { useMergeProps } from '../hooks/Hooks'; export const UIMessage = React.memo( React.forwardRef((props, ref) => { + const mergeProps = useMergeProps(); const { message: messageInfo, metaData: parentMetaData,