From 6a048d4c5c4203b8fb66c1d8be045cc0a4946dc4 Mon Sep 17 00:00:00 2001 From: Enzo Vezzaro Date: Tue, 14 Jun 2022 13:47:13 -0400 Subject: [PATCH] fix build on CI --- src/@context/MarketMetadata/_queries.ts | 4 +++- src/@context/MarketMetadata/index.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/@context/MarketMetadata/_queries.ts b/src/@context/MarketMetadata/_queries.ts index 84586f82f..ba13dd606 100644 --- a/src/@context/MarketMetadata/_queries.ts +++ b/src/@context/MarketMetadata/_queries.ts @@ -5,7 +5,9 @@ export const opcQuery = gql` opc(id: 1) { swapOceanFee swapNonOceanFee - approvedTokens + approvedTokens { + id + } id } } diff --git a/src/@context/MarketMetadata/index.tsx b/src/@context/MarketMetadata/index.tsx index 209fac7c0..cecef9323 100644 --- a/src/@context/MarketMetadata/index.tsx +++ b/src/@context/MarketMetadata/index.tsx @@ -39,7 +39,7 @@ function MarketMetadataProvider({ approvedTokens: response.data?.opc.approvedTokens, swapApprovedFee: response.data?.opc.swapOceanFee, swapNotApprovedFee: response.data?.opc.swapNonOceanFee - } as OpcFee) + } as unknown as OpcFee) } setOpcFees(opcData) }