1
0
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:
marcoelissa 2022-12-15 19:03:58 +07:00
parent ac48cb1e39
commit 72eced6b8b

View File

@ -99,6 +99,8 @@ export default function DmConversation() {
const onScrollMessages = throttle(() => {
const el = messagesWrapper.current
if (!el) return
if (hasMore && el.scrollTop <= 50) {
getMessages()
}