Fix optimistic rendering issue
This commit is contained in:
@ -82,6 +82,7 @@ export const useFindManyObjectRecords = <
|
||||
variables: {
|
||||
filter: filter ?? {},
|
||||
orderBy: orderBy ?? {},
|
||||
limit: limit,
|
||||
},
|
||||
definition: getRecordOptimisticEffectDefinition({
|
||||
objectMetadataItem,
|
||||
|
||||
@ -51,7 +51,7 @@ export const useObjectRecordTable = () => {
|
||||
|
||||
if (foundObjectMetadataItem) {
|
||||
registerOptimisticEffect({
|
||||
variables: { orderBy, filter },
|
||||
variables: { orderBy, filter, limit: 60 },
|
||||
definition: getRecordOptimisticEffectDefinition({
|
||||
objectMetadataItem: foundObjectMetadataItem,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user