Fix jwt-token

This commit is contained in:
2025-08-18 06:28:17 +02:00
parent c3773f2b88
commit 5c1d1ae175
2 changed files with 19 additions and 10 deletions

View File

@@ -311,7 +311,12 @@ export const DetectionDetailsModal = ({ detection, onClose }) => {
</div>
<div className="flex justify-between">
<span className="text-gray-500">Detected At:</span>
<span>{format(new Date(detection.detected_at), 'MMM dd, yyyy HH:mm:ss')}</span>
<span>
{detection.detected_at
? format(new Date(detection.detected_at), 'MMM dd, yyyy HH:mm:ss')
: 'Unknown'
}
</span>
</div>
<div className="flex justify-between">
<span className="text-gray-500">Device:</span>