Skip to content

Commit

Permalink
feat: more order history changes
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbarr93 committed Aug 12, 2024
1 parent d73fb17 commit dc2505f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions packages/web/components/complex/orders-history/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,14 @@ export const OrderHistory = observer(() => {
})
)}
</tbody>
<Intersection
onVisible={() => {
if (hasNextPage && !isFetchingNextPage && !isLoading) {
fetchNextPage();
}
}}
/>
</table>
<Intersection
onVisible={() => {
if (hasNextPage && !isFetchingNextPage && !isLoading) {
fetchNextPage();
}
}}
/>
{isLargeScreen && (
<OrderModal
order={selectedOrder}
Expand Down
2 changes: 1 addition & 1 deletion packages/web/hooks/limit-orders/use-orderbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export const useOrderbookAllActiveOrders = ({
refetchInterval,
enabled: !!userAddress && addresses.length > 0,
refetchOnMount: true,
keepPreviousData: true,
keepPreviousData: false,
trpc: {
abortOnUnmount: true,
context: {
Expand Down

0 comments on commit dc2505f

Please sign in to comment.