Fix jwt-token
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import api from '../services/api';
|
||||
import { format } from 'date-fns';
|
||||
import { t } from '../utils/tempTranslations'; // Temporary translation system
|
||||
import {
|
||||
MagnifyingGlassIcon,
|
||||
FunnelIcon,
|
||||
@@ -80,7 +81,7 @@ const Detections = () => {
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<h3 className="text-lg leading-6 font-medium text-gray-900">
|
||||
Drone Detections
|
||||
{t('detections.title')}
|
||||
</h3>
|
||||
<p className="mt-1 text-sm text-gray-500">
|
||||
History of all drone detections from your devices
|
||||
@@ -260,7 +261,7 @@ const Detections = () => {
|
||||
{detections.length === 0 && !loading && (
|
||||
<div className="text-center py-12">
|
||||
<MagnifyingGlassIcon className="mx-auto h-12 w-12 text-gray-400" />
|
||||
<h3 className="mt-2 text-sm font-medium text-gray-900">No detections found</h3>
|
||||
<h3 className="mt-2 text-sm font-medium text-gray-900">{t('detections.noDetections')}</h3>
|
||||
<p className="mt-1 text-sm text-gray-500">
|
||||
Try adjusting your search filters.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user