Skip to content

Commit ba8f591

Browse files
committed
deleted default bounty for tezos tacode
1 parent 9b29a32 commit ba8f591

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

src/pages/bounties/index.tsx

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,6 @@ interface bountiesMultiSelector {
3131
*
3232
* @type {Bounty}
3333
*/
34-
const defaulBounty = {
35-
name: "Tezos Starter Course",
36-
image: "/img/communities/tacode.svg",
37-
type: "Challenge",
38-
link: "https://tacode.dev/courses/dev-starter/challenges/f9c23fc7-3022-4347-b19c-66cc2424ac2f",
39-
colors: {
40-
text: "#0D61FF",
41-
accent: "#0D61FF",
42-
textAccent: "#fff",
43-
primary: "#0D61FF",
44-
},
45-
reward: {
46-
amount: 12,
47-
token: "tez",
48-
type: "SUBMISSION",
49-
},
50-
url: "https://tacode.dev/courses/dev-starter",
51-
};
5234

5335
/**
5436
* Bounties page component
@@ -74,15 +56,17 @@ export default function Bounties() {
7456
bounties: (state: IRootState) => state.bounties.bountiesList,
7557
});
7658

77-
const bountiesList = useMemo(() => [defaulBounty, ...(bounties || [])], [bounties]);
59+
// const bountiesList = useMemo(() => [defaulBounty, ...(bounties || [])], [bounties]);
60+
const bountiesList = useMemo(() => [...(bounties || [])], [bounties]);
61+
7862

7963
return (
8064
<div className="flex justify-center content-wrapper">
8165
<div className="hidden lg:block w-1/4 mt-28 py-3 pr-10 lg:py-14">
8266
<Navigation />
8367
</div>
8468
<div className="flex-col w-full">
85-
<h1 className="text-4xl sm:text-5xl pt-10 md:pt-20 pb-10">{t("nav.bounties")}</h1>
69+
{/* <h1 className="text-4xl sm:text-5xl pt-10 md:pt-20 pb-10">{t("nav.bounties")}</h1> */}
8670
<BountyList bounties={bountiesList as Bounty[]} referrals={referrals} />
8771
</div>
8872
</div>

0 commit comments

Comments
 (0)