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 11{
22 "name" : " @code4rena/components-library" ,
3- "version" : " 4.0.2 " ,
3+ "version" : " 4.0.3 " ,
44 "description" : " Code4rena's official components library " ,
55 "types" : " ./dist/lib.d.ts" ,
66 "exports" : {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export const Card = ({
7474 { ( footerDetails || footerLinks ) && (
7575 < footer className = "card__footer" >
7676 { footerDetails && (
77- < p className = "card__footer-details" > { footerDetails } </ p >
77+ < div className = "card__footer-details" > { footerDetails } </ div >
7878 ) }
7979 { footerLinks && (
8080 < div className = "card__footer-link-wrapper" >
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ function IsContest({
313313 </ a >
314314 </ h2 >
315315 { /* Contest description */ }
316- < p className = "description" >
316+ < div className = "description" >
317317 { description } { " " }
318318 { ( ( hasBotRace && contestTimelineObject && ( contestTimelineObject . botRaceStatus === Status . UPCOMING ||
319319 contestTimelineObject . botRaceStatus === Status . LIVE ) )
@@ -344,7 +344,7 @@ function IsContest({
344344 size = { TagSize . NARROW } />
345345 ) }
346346 </ div > }
347- </ p >
347+ </ div >
348348 </ div >
349349 </ header >
350350 { /* Reward pool amount */ }
@@ -464,7 +464,7 @@ function IsBounty({
464464 </ a >
465465 </ h2 >
466466 { /* Contest description */ }
467- < p className = "description" >
467+ < div className = "description" >
468468 { description }
469469 { ( ecosystem || ( languages && languages . length > 0 ) ) && < div className = "tags" >
470470 { ecosystem && < Tag
@@ -482,7 +482,7 @@ function IsBounty({
482482 size = { TagSize . NARROW } />
483483 ) }
484484 </ div > }
485- </ p >
485+ </ div >
486486 </ div >
487487 </ header >
488488 { /* Reward pool amount */ }
Original file line number Diff line number Diff line change @@ -117,8 +117,6 @@ export const Input = ({
117117 }
118118 }
119119 if ( required ) {
120- console . log ( selectValue ) ;
121-
122120 if ( variant !== InputVariant . SELECT && ( value === "" || value == null ) ) {
123121 errorMessages . push ( "This field is required" ) ;
124122 } else if (
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export const Tag = ({
4242
4343 return (
4444 < 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 } /> }
4646 { iconLeft && typeof iconLeft !== "string" && < div className = "icon" >
4747 { iconLeft }
4848 </ div > }
You can’t perform that action at this time.
0 commit comments