Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
abirc8010 committed Dec 25, 2024
1 parent c91e394 commit 216c062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/views/ChatBody/ChatBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const ChatBody = ({
setScrollPosition(messageListRef.current.scrollTop);
setIsUserScrolledUp(
messageListRef.current.scrollTop + messageListRef.current.clientHeight <
messageListRef.current.scrollHeight
messageListRef.current.scrollHeight
);
}

Expand Down Expand Up @@ -202,7 +202,7 @@ const ChatBody = ({
if (announcementRef.current) {
setIsOverflowing(
announcementRef.current.scrollWidth >
announcementRef.current.clientWidth
announcementRef.current.clientWidth
);
}
};
Expand Down

0 comments on commit 216c062

Please sign in to comment.