File tree Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @code4rena/components-library" ,
3
- "version" : " 4.0.2 " ,
3
+ "version" : " 4.0.3 " ,
4
4
"description" : " Code4rena's official components library " ,
5
5
"types" : " ./dist/lib.d.ts" ,
6
6
"exports" : {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const Card = ({
74
74
{ ( footerDetails || footerLinks ) && (
75
75
< footer className = "card__footer" >
76
76
{ footerDetails && (
77
- < p className = "card__footer-details" > { footerDetails } </ p >
77
+ < div className = "card__footer-details" > { footerDetails } </ div >
78
78
) }
79
79
{ footerLinks && (
80
80
< div className = "card__footer-link-wrapper" >
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ function IsContest({
313
313
</ a >
314
314
</ h2 >
315
315
{ /* Contest description */ }
316
- < p className = "description" >
316
+ < div className = "description" >
317
317
{ description } { " " }
318
318
{ ( ( hasBotRace && contestTimelineObject && ( contestTimelineObject . botRaceStatus === Status . UPCOMING ||
319
319
contestTimelineObject . botRaceStatus === Status . LIVE ) )
@@ -344,7 +344,7 @@ function IsContest({
344
344
size = { TagSize . NARROW } />
345
345
) }
346
346
</ div > }
347
- </ p >
347
+ </ div >
348
348
</ div >
349
349
</ header >
350
350
{ /* Reward pool amount */ }
@@ -464,7 +464,7 @@ function IsBounty({
464
464
</ a >
465
465
</ h2 >
466
466
{ /* Contest description */ }
467
- < p className = "description" >
467
+ < div className = "description" >
468
468
{ description }
469
469
{ ( ecosystem || ( languages && languages . length > 0 ) ) && < div className = "tags" >
470
470
{ ecosystem && < Tag
@@ -482,7 +482,7 @@ function IsBounty({
482
482
size = { TagSize . NARROW } />
483
483
) }
484
484
</ div > }
485
- </ p >
485
+ </ div >
486
486
</ div >
487
487
</ header >
488
488
{ /* Reward pool amount */ }
Original file line number Diff line number Diff line change @@ -117,8 +117,6 @@ export const Input = ({
117
117
}
118
118
}
119
119
if ( required ) {
120
- console . log ( selectValue ) ;
121
-
122
120
if ( variant !== InputVariant . SELECT && ( value === "" || value == null ) ) {
123
121
errorMessages . push ( "This field is required" ) ;
124
122
} else if (
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export const Tag = ({
42
42
43
43
return (
44
44
< div id = { id ?? undefined } className = { `${ styling } ${ className } ` } >
45
- { iconLeft && typeof iconLeft === "string" && < img alt = "" src = { iconLeft } width = { 16 } height = { 16 } /> }
45
+ { iconLeft && typeof iconLeft === "string" && < img alt = "left-icon " src = { iconLeft } width = { 16 } height = { 16 } /> }
46
46
{ iconLeft && typeof iconLeft !== "string" && < div className = "icon" >
47
47
{ iconLeft }
48
48
</ div > }
You can’t perform that action at this time.
0 commit comments