fix(build): Resolve circular dependencies and type errors

This commit is contained in:
Michael committed 2026-01-20 13:56:45 +01:00
1 parent f8ddb44e38
commit e7e9a2fb1b
5 files changed
+6 -6

No files matched your search

@@ -16,7 +16,7 @@ export function AnalyticsDashboard() {
const { toast } = useToast();
// Fetch Pages
const { data: pages = [], isLoading: isLoadingPages } = useQuery({
const { data: pages = [], isLoading: isLoadingPages } = useQuery<any[]>({
queryKey: ['/api/pages'],
});
@@ -28,7 +28,7 @@ export function AnalyticsDashboard() {
}, [pages, selectedPageId]);
// Fetch History for selected page
const { data: history = [], isLoading: isLoadingHistory } = useQuery({
const { data: history = [], isLoading: isLoadingHistory } = useQuery<any[]>({
queryKey: [`/api/analytics/pages/${selectedPageId}/history`],
enabled: !!selectedPageId,
});