File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ const StatusRibbon = ({ expDate }) => {
12
12
} ;
13
13
14
14
return (
15
- < div className = { `absolute bottom-0 right-0 text-white text-xs py-1 px-3 rounded-tl-lg border-t border-l border-white ${ CheckExpired ( expDate ) ? 'bg-red-500' : 'bg-green-500' } ` } >
16
- { CheckExpired ( expDate ) ? ` ${ t ( 'statusRibbon.expired' ) } ` : ` ${ t ( 'statusRibbon.active' ) } ` }
15
+ CheckExpired ( expDate ) && < div className = { `absolute bottom-0 right-0 text-white text-xs py-1 px-3 rounded-tl-lg border-t border-l border-white ${ CheckExpired ( expDate ) ? 'bg-red-500' : 'bg-green-500' } ` } >
16
+ { t ( 'statusRibbon.expired' ) }
17
17
</ div >
18
18
) ;
19
19
} ;
Original file line number Diff line number Diff line change 187
187
"poweredBy" : " Powered by <docLinkWalletGithub>wwWallet</docLinkWalletGithub>"
188
188
},
189
189
"statusRibbon" : {
190
- "active" : " Active" ,
191
190
"expired" : " Expired"
192
191
}
193
192
}
You can’t perform that action at this time.
0 commit comments