mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
minor bug fix
This commit is contained in:
parent
ac48cb1e39
commit
72eced6b8b
@ -99,6 +99,8 @@ export default function DmConversation() {
|
||||
const onScrollMessages = throttle(() => {
|
||||
const el = messagesWrapper.current
|
||||
|
||||
if (!el) return
|
||||
|
||||
if (hasMore && el.scrollTop <= 50) {
|
||||
getMessages()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user