refactor : restructure types

This commit is contained in:
2026-03-18 17:09:58 +05:30
parent f35389ab69
commit 7f8854ed78
31 changed files with 629 additions and 259 deletions

View File

@@ -4,7 +4,7 @@ import { useEffect, useState } from "react"
import dynamic from "next/dynamic"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { Loader2, MapPin } from "lucide-react"
import { type Detection } from "@/lib/api"
import { Detection } from "@/types"
// Dynamically import the map to avoid SSR issues with Leaflet
const DashboardMapContent = dynamic(