refactor(dashboard): update imports for TopPages and UI components

This commit is contained in:
Usman Baig
2026-01-18 18:46:34 +01:00
parent 8fe2500d19
commit 130fd293b7

View File

@@ -7,15 +7,14 @@ import { toast } from 'sonner'
import LoadingOverlay from '@/components/LoadingOverlay' import LoadingOverlay from '@/components/LoadingOverlay'
import StatsCard from '@/components/dashboard/StatsCard' import StatsCard from '@/components/dashboard/StatsCard'
import Chart from '@/components/dashboard/Chart' import Chart from '@/components/dashboard/Chart'
import TopPages from '@/components/dashboard/TopPages' import TopPages from '@/components/dashboard/ContentStats'
import TopReferrers from '@/components/dashboard/TopReferrers' import TopReferrers from '@/components/dashboard/TopReferrers'
import Locations from '@/components/dashboard/Locations' import Locations from '@/components/dashboard/Locations'
import TechSpecs from '@/components/dashboard/TechSpecs' import TechSpecs from '@/components/dashboard/TechSpecs'
import PerformanceStats from '@/components/dashboard/PerformanceStats' import PerformanceStats from '@/components/dashboard/PerformanceStats'
import Select from '@/components/Select' import Select from '@/components/ui/Select'
import { CalendarIcon } from '@heroicons/react/outline' import { CalendarIcon, LightningBoltIcon } from '@heroicons/react/24/outline'
import { LightningBoltIcon } from '@heroicons/react/solid' import DatePickerModal from '@/components/ui/DatePicker'
import DatePickerModal from '@/components/dashboard/DatePickerModal'
// Helper to get date ranges // Helper to get date ranges
const getDateRange = (days: number) => { const getDateRange = (days: number) => {