fix type bug
This commit is contained in:
@@ -115,8 +115,8 @@ export default function ViolationsMyClaims() {
|
|||||||
</div> */}
|
</div> */}
|
||||||
|
|
||||||
<div className="case-card-meta">
|
<div className="case-card-meta">
|
||||||
<div><strong>{t('date-of-creation')}:</strong> {item.createdAt ? `${formatDate(item.createdAt)} ${formatDateTime(item.createdAt)}` : '---'}</div>
|
<div><strong>{t('date-of-creation')}:</strong> {item.created_at ? `${formatDate(item.created_at)} ${formatDateTime(item.created_at)}` : '---'}</div>
|
||||||
<div><strong>{t('date-of-update')}:</strong> {item.updatedAt ? `${formatDate(item.updatedAt)} ${formatDateTime(item.updatedAt)}` : '---'}</div>
|
<div><strong>{t('date-of-update')}:</strong> {item.updated_at ? `${formatDate(item.updated_at)} ${formatDateTime(item.updated_at)}` : '---'}</div>
|
||||||
<div><strong>{t('lawyer')}: </strong>
|
<div><strong>{t('lawyer')}: </strong>
|
||||||
<span style={{ color: '#f59e0b' }}>{item.lawyer ? item.lawyer : t('not-assigned')}</span>
|
<span style={{ color: '#f59e0b' }}>{item.lawyer ? item.lawyer : t('not-assigned')}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user