fix: resolve all ESLint errors + fix deploy workflow for CI
- Replace all 'any' types with 'unknown' or proper types - Remove unused imports and variables - Add comments to empty catch blocks - Fix Date.now() purity issue in ReportsPage (useMemo) - Fix fetchNotifications declaration order in NotificationBell - Restructure MeetingPrepModal effect for setState - Split Toast exports into separate lib/toast.ts - Fix constant binary expression in utils.test.ts - Fix deploy workflow: compose.deploy + DOKPLOY_COMPOSE_ID
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { useEffect, useState, useMemo, useCallback } from 'react';
|
||||
import { Link, useLocation, useSearchParams } from 'react-router-dom';
|
||||
import { useClientsStore } from '@/stores/clients';
|
||||
import { Search, Plus, Users, X, Upload, LayoutGrid, List, Kanban, ChevronLeft, ChevronRight } from 'lucide-react';
|
||||
import type { ClientCreate } from '@/types';
|
||||
import { Search, Plus, Users, X, Upload, LayoutGrid, Kanban, ChevronLeft, ChevronRight } from 'lucide-react';
|
||||
import { cn, getRelativeTime, getInitials } from '@/lib/utils';
|
||||
import Badge, { StageBadge } from '@/components/Badge';
|
||||
import EmptyState from '@/components/EmptyState';
|
||||
@@ -121,7 +122,7 @@ export default function ClientsPage() {
|
||||
return Array.from(tags).sort();
|
||||
}, [clients]);
|
||||
|
||||
const handleCreate = async (data: any) => {
|
||||
const handleCreate = async (data: ClientCreate) => {
|
||||
setCreating(true);
|
||||
try {
|
||||
await createClient(data);
|
||||
|
||||
Reference in New Issue
Block a user