Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
#33 fix for build
Browse files Browse the repository at this point in the history
  • Loading branch information
gkillick committed Mar 31, 2022
1 parent 0219f43 commit c85069e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/chat/chatroom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function ChatRoom(props: ChatInfo) {
inline: 'nearest',
},
);
setMessagesLoaded(messagesLoaded + 1);
setMessagesLoaded((m) => m + 1);
} else {
messageRef.current.scrollIntoView(
{
Expand Down

0 comments on commit c85069e

Please sign in to comment.