Skip to content

Commit c9c0355

Browse files
committed
deleted userMemo and used bounties directly as commented in Github
1 parent 1f9b5b8 commit c9c0355

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pages/bounties/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ export default function Bounties() {
5656
bounties: (state: IRootState) => state.bounties.bountiesList,
5757
});
5858

59-
const bountiesList = useMemo(() => [...(bounties || [])], [bounties]);
60-
6159

6260
return (
6361
<div className="flex justify-center content-wrapper">
@@ -66,7 +64,7 @@ export default function Bounties() {
6664
</div>
6765
<div className="flex-col w-full">
6866
<h1 className="text-4xl sm:text-5xl pt-10 md:pt-20 pb-10">{t("nav.bounties")}</h1>
69-
<BountyList bounties={bountiesList as Bounty[]} referrals={referrals} />
67+
<BountyList bounties={bounties as Bounty[]} referrals={referrals} />
7068
</div>
7169
</div>
7270
);

0 commit comments

Comments
 (0)