mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
unintentional timestamp precision show up normally
This commit is contained in:
@@ -8,12 +8,13 @@ const CardTimestamp = ({ timelabel, language, precision }) => {
|
||||
// const estimatedLang = copy[language].cardstack.estimated
|
||||
const unknownLang = copy[language].cardstack.unknown_time
|
||||
|
||||
console.log(precision)
|
||||
if (isNotNullNorUndefined(timelabel)) {
|
||||
return (
|
||||
<div className='card-cell timestamp'>
|
||||
<p>
|
||||
<i className='material-icons left'>today</i>
|
||||
{timelabel}{(precision !== '') ? ` - ${precision}` : ''}
|
||||
{timelabel}{(precision && precision !== '') ? ` - ${precision}` : ''}
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user