mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 01:51:37 -04:00
Fix
This commit is contained in:
@@ -94,7 +94,7 @@ export const usePaginatedScrollingMessages = (
|
||||
setShowMessages(true)
|
||||
initialScroll.current = false
|
||||
}
|
||||
} else if (last(messages)?.userId === userId) {
|
||||
} else if (messages[0]?.userId === userId) {
|
||||
debug('Sent message')
|
||||
// Sent a message, scroll to bottom
|
||||
outerDiv?.current?.scrollTo({
|
||||
|
||||
Reference in New Issue
Block a user