fix: order data provider error (#1420)
* chore: ignore apollo errors - to be reverted after API will be fixed * fix: order data provider error Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
This commit is contained in:
parent
9b04310ab8
commit
010d7e5e31
@ -153,7 +153,7 @@ export const ordersWithMarketProvider = makeDerivedDataProvider<
|
|||||||
>(
|
>(
|
||||||
[ordersProvider, marketsProvider],
|
[ordersProvider, marketsProvider],
|
||||||
(partsData): OrderWithMarketEdge[] =>
|
(partsData): OrderWithMarketEdge[] =>
|
||||||
(partsData[0] as Parameters<typeof update>['0']).map((edge) => ({
|
((partsData[0] as Parameters<typeof update>['0']) || []).map((edge) => ({
|
||||||
cursor: edge.cursor,
|
cursor: edge.cursor,
|
||||||
node: {
|
node: {
|
||||||
...edge.node,
|
...edge.node,
|
||||||
|
Loading…
Reference in New Issue
Block a user