chore(trading): update generic data provider (#5431)
This commit is contained in:
parent
40f02ecf89
commit
fef13874db
@ -153,7 +153,8 @@ interface DataProviderParams<
|
||||
pagination?: {
|
||||
getPageInfo: GetPageInfo<QueryData>;
|
||||
append: Append<Data>;
|
||||
first: number;
|
||||
first?: number;
|
||||
last?: number;
|
||||
};
|
||||
fetchPolicy?: FetchPolicy;
|
||||
resetDelay?: number;
|
||||
|
@ -98,7 +98,7 @@ export const tradesProvider = makeDataProvider<
|
||||
pagination: {
|
||||
getPageInfo,
|
||||
append,
|
||||
first: MAX_TRADES,
|
||||
last: MAX_TRADES,
|
||||
},
|
||||
fetchPolicy: 'no-cache',
|
||||
getSubscriptionVariables: ({ marketId }) => ({ marketId }),
|
||||
|
Loading…
Reference in New Issue
Block a user