diff --git a/packages/roomkit-react/src/Prebuilt/components/Chat/Chat.jsx b/packages/roomkit-react/src/Prebuilt/components/Chat/Chat.jsx
index 8761b88afd..a9abbd2d30 100644
--- a/packages/roomkit-react/src/Prebuilt/components/Chat/Chat.jsx
+++ b/packages/roomkit-react/src/Prebuilt/components/Chat/Chat.jsx
@@ -108,7 +108,7 @@ export const Chat = ({ screenType }) => {
{isLocalPeerBlacklisted ? : null}
{isMobile && elements?.chat?.is_overlay && elements?.chat?.allow_pinning_messages ? (
-
+ removePinnedMessage(pinnedMessages, index)} />
) : null}
{isChatEnabled && !isLocalPeerBlacklisted ? (