Fix jwt-token

This commit is contained in:
2025-09-19 14:13:24 +02:00
parent e820f68b05
commit 32245f1132
7 changed files with 312 additions and 34 deletions

View File

@@ -6,6 +6,7 @@ import L from 'leaflet'; // For divIcon and other Leaflet utilities
import { useSocket } from '../contexts/SocketContext';
import api from '../services/api';
import { format } from 'date-fns';
import { t } from '../utils/tempTranslations';
import {
ServerIcon,
ExclamationTriangleIcon,
@@ -324,10 +325,10 @@ const MapView = () => {
<div className="flex items-center justify-between">
<div>
<h3 className="text-lg leading-6 font-medium text-gray-900">
Device Map
{t('map.title')}
</h3>
<p className="mt-1 text-sm text-gray-500">
Real-time view of all devices and drone detections
{t('map.description')}
</p>
</div>