diff --git a/src/components/ConversationCard/index.jsx b/src/components/ConversationCard/index.jsx index 0143f9f..ad24ac0 100644 --- a/src/components/ConversationCard/index.jsx +++ b/src/components/ConversationCard/index.jsx @@ -381,6 +381,21 @@ function ConversationCard(props) { )} + a{' '} + {conversationItemData.length > 0 && ( + { + bodyRef.current.scrollTo({ + top: bodyRef.current.scrollHeight, + behavior: 'smooth', + }) + }} + > + + + )} - - {conversationItemData.length > 0 && ( - { - bodyRef.current.scrollTo({ - top: bodyRef.current.scrollHeight, - behavior: 'smooth', - }) - }} - > - - - )} -