Spaces:
Sleeping

axeronis commited on
Commit
a353e22
·
1 Parent(s): 7f1e432

fix: Resolve TypeScript error in LeadsList.tsx (onSelect -> onSelectLead)

Browse files
Files changed (1) hide show
  1. frontend/components/LeadsList.tsx +1 -1
frontend/components/LeadsList.tsx CHANGED
@@ -181,7 +181,7 @@ export function LeadsList({
181
  return (
182
  <div
183
  key={lead.id}
184
- onClick={() => onSelect(lead.id)}
185
  className={cn(
186
  "p-3 rounded-2xl cursor-pointer transition-all duration-200 group relative overflow-hidden border",
187
  isSelected
 
181
  return (
182
  <div
183
  key={lead.id}
184
+ onClick={() => onSelectLead(lead)}
185
  className={cn(
186
  "p-3 rounded-2xl cursor-pointer transition-all duration-200 group relative overflow-hidden border",
187
  isSelected