remove: smooth scroll from orders

This commit is contained in:
AzizbekFayziyev 2025-09-13 21:04:52 +05:00
parent 7c925df103
commit 91c0a0c55c

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]);