File tree Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -31,24 +31,6 @@ interface bountiesMultiSelector {
31
31
*
32
32
* @type {Bounty }
33
33
*/
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
- } ;
52
34
53
35
/**
54
36
* Bounties page component
@@ -74,15 +56,17 @@ export default function Bounties() {
74
56
bounties : ( state : IRootState ) => state . bounties . bountiesList ,
75
57
} ) ;
76
58
77
- const bountiesList = useMemo ( ( ) => [ defaulBounty , ...( bounties || [ ] ) ] , [ bounties ] ) ;
59
+ // const bountiesList = useMemo(() => [defaulBounty, ...(bounties || [])], [bounties]);
60
+ const bountiesList = useMemo ( ( ) => [ ...( bounties || [ ] ) ] , [ bounties ] ) ;
61
+
78
62
79
63
return (
80
64
< div className = "flex justify-center content-wrapper" >
81
65
< div className = "hidden lg:block w-1/4 mt-28 py-3 pr-10 lg:py-14" >
82
66
< Navigation />
83
67
</ div >
84
68
< 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> */ }
86
70
< BountyList bounties = { bountiesList as Bounty [ ] } referrals = { referrals } />
87
71
</ div >
88
72
</ div >
You can’t perform that action at this time.
0 commit comments