mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-02-15 11:14:28 +01:00
Only get first 50 activity items
This commit is contained in:
committed by
Tony Giorgio
parent
d716cec83e
commit
3d24fcfe95
@@ -176,7 +176,10 @@ export function CombinedActivity() {
|
||||
const getActivity = cache(async () => {
|
||||
try {
|
||||
console.log("refetching activity");
|
||||
const activity = await state.mutiny_wallet?.get_activity();
|
||||
const activity = await state.mutiny_wallet?.get_activity(
|
||||
50,
|
||||
undefined
|
||||
);
|
||||
return (activity || []) as IActivityItem[];
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
||||
Reference in New Issue
Block a user