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) }