Skip to content

Commit 8254cc0

Browse files
Update useActivity.ts
1 parent 0f34cbd commit 8254cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dashboard/src/@3rdweb-sdk/react/hooks/useActivity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function useActivity(contract: ThirdwebContract, autoUpdate?: boolean) {
2525
return [];
2626
}
2727
const obj = eventsQuery.data
28-
.toReversed()
28+
.slice().reverse()
2929
.slice(0, 100)
3030
.reduce(
3131
(acc, curr) => {

0 commit comments

Comments
 (0)