Fix jwt-token
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user