mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix (#1517)
This commit is contained in:
parent
89a63f7cb2
commit
82e5f60e65
@ -5,7 +5,9 @@ export const opcQuery = gql`
|
||||
opc(id: 1) {
|
||||
swapOceanFee
|
||||
swapNonOceanFee
|
||||
approvedTokens
|
||||
approvedTokens {
|
||||
id
|
||||
}
|
||||
id
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ function MarketMetadataProvider({
|
||||
|
||||
opcData.push({
|
||||
chainId: appConfig.chainIdsSupported[i],
|
||||
approvedTokens: response.data?.opc.approvedTokens,
|
||||
approvedTokens: response.data?.opc.approvedTokens?.map((x) => x.id),
|
||||
swapApprovedFee: response.data?.opc.swapOceanFee,
|
||||
swapNotApprovedFee: response.data?.opc.swapNonOceanFee
|
||||
} as OpcFee)
|
||||
|
Loading…
Reference in New Issue
Block a user