fix type bug

This commit is contained in:
smanylov
2026-04-22 14:09:38 +07:00
parent 2f0acfc07f
commit fd4da24b1d
@@ -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>