Skip to content

Commit

Permalink
chore: re-render fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Bulat committed Apr 26, 2024
1 parent 9a4d4af commit 4851436
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/Payouts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ export const Payouts = ({ page: { key } }: PageProps) => {
(data?.payouts || []).concat(data?.poolClaims || [])
)
);
}, [data?.payouts?.length, data?.poolClaims?.length]);
}, [
JSON.stringify(data?.payouts || {}),
JSON.stringify(data?.poolClaims || {}),
]);

return (
<>
Expand Down

0 comments on commit 4851436

Please sign in to comment.