feat: update components and hooks to use get_untracked for improved performance
This commit is contained in:
1 parent
8166023f91
commit
27e929580e
85 files changed
+1704
-1844
No files matched your search
@@ -67,7 +67,9 @@ export class RecordingsService {
|
||||
|
||||
const items = rows.slice(0, limit) as unknown as RecordingRow[];
|
||||
const hasMore = rows.length > limit;
|
||||
const nextCursor = hasMore ? String(items[items.length - 1]!.created_at) : null;
|
||||
const nextCursor = hasMore
|
||||
? String(items[items.length - 1]!.created_at)
|
||||
: null;
|
||||
|
||||
return { items, nextCursor, hasMore };
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user