chore: Remove comments

This commit is contained in:
Dries Augustyns
2026-01-01 14:08:08 +01:00
parent 76786b2eae
commit da7f3e5718
19 changed files with 22 additions and 96 deletions
+2 -4
View File
@@ -50,8 +50,7 @@ export function useAnalytics(options: UseAnalyticsOptions = {}): AnalyticsData {
}, [days, options.startDate, options.endDate]);
/* eslint-enable react-hooks/purity */
// Fetch activity stats
const {
const {
data: stats,
error: statsError,
isLoading: statsLoading,
@@ -61,8 +60,7 @@ export function useAnalytics(options: UseAnalyticsOptions = {}): AnalyticsData {
dedupingInterval: 10000, // Prevent duplicate requests within 10 seconds
});
// Fetch time series data (if endpoint exists)
const {
const {
data: timeSeries,
error: timeSeriesError,
isLoading: timeSeriesLoading,
+1 -2
View File
@@ -46,8 +46,7 @@ export function useContactFields() {
},
);
// Extract just the field names as strings
const fieldNames = (data?.fields || []).map(f => f.field);
const fieldNames = (data?.fields || []).map(f => f.field);
return {
fields: fieldNames,