Spaces:
Sleeping
Sleeping
axeronis commited on
Commit ·
a353e22
1
Parent(s): 7f1e432
fix: Resolve TypeScript error in LeadsList.tsx (onSelect -> onSelectLead)
Browse files
frontend/components/LeadsList.tsx
CHANGED
|
@@ -181,7 +181,7 @@ export function LeadsList({
|
|
| 181 |
return (
|
| 182 |
<div
|
| 183 |
key={lead.id}
|
| 184 |
-
onClick={() =>
|
| 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
|