Merge pull request #22 from jejolare-dev/staging

Staging
This commit is contained in:
Dmitrii Kolpakov 2025-09-13 23:12:24 +07:00 committed by GitHub
commit ffd020f4af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -162,15 +162,9 @@ const OrdersPool = (props: OrdersPoolProps) => {
parent.clientHeight / 2 +
childRect.height / 2;
parent.scrollTo({
top: scrollTop,
behavior: 'smooth',
});
parent.scrollTop = Math.round(scrollTop);
} else {
parent.scrollTo({
top: 0,
behavior: 'smooth',
});
parent.scrollTop = 0;
}
}, [ordersLoading, filteredOrdersHistory.length, ordersBuySell.code]);