diff --git a/libs/orders/src/lib/components/order-data-provider/order-data-provider.ts b/libs/orders/src/lib/components/order-data-provider/order-data-provider.ts index 0accf076b..67645d6c6 100644 --- a/libs/orders/src/lib/components/order-data-provider/order-data-provider.ts +++ b/libs/orders/src/lib/components/order-data-provider/order-data-provider.ts @@ -153,7 +153,7 @@ export const ordersWithMarketProvider = makeDerivedDataProvider< >( [ordersProvider, marketsProvider], (partsData): OrderWithMarketEdge[] => - (partsData[0] as Parameters['0']).map((edge) => ({ + ((partsData[0] as Parameters['0']) || []).map((edge) => ({ cursor: edge.cursor, node: { ...edge.node,