From b7064c87afa1516afc195bcdfaa5a9b4bc5aec2f Mon Sep 17 00:00:00 2001 From: suryac Date: Fri, 10 Jul 2026 15:12:47 +0530 Subject: [PATCH] fix:build errors fixed --- src/App.tsx | 4 ++-- src/components/forms/DynamicForm.tsx | 2 +- src/components/forms/fields/WfLookupField.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 0645862..bf3ee6a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -13,7 +13,7 @@ function App() { } /> - {/* }> + }> } /> } /> @@ -26,7 +26,7 @@ function App() { } /> } /> } /> - */} + diff --git a/src/components/forms/DynamicForm.tsx b/src/components/forms/DynamicForm.tsx index d8624e7..4af9d3f 100644 --- a/src/components/forms/DynamicForm.tsx +++ b/src/components/forms/DynamicForm.tsx @@ -191,7 +191,7 @@ export function DynamicForm({ client, activityId: initialActivityId, instanceId: ); // Remove any existing occurrences from pending to avoid duplicates - pending = pending.filter(p => !newActivities.some(n => n.activity_uid === p.activity_uid)); + pending = pending.filter(p => !newActivities.some((n: any) => n.activity_uid === p.activity_uid)); // Prepend the new activities for depth-first execution (nested chaining) pending = [...newActivities, ...pending]; diff --git a/src/components/forms/fields/WfLookupField.tsx b/src/components/forms/fields/WfLookupField.tsx index 49b1937..0d75493 100644 --- a/src/components/forms/fields/WfLookupField.tsx +++ b/src/components/forms/fields/WfLookupField.tsx @@ -15,7 +15,7 @@ export interface WfLookupFieldProps { formData: Record; } -export function WfLookupField({ label, required, value, onChange, client, config, properties, activityId, fieldId, formData }: WfLookupFieldProps) { +export function WfLookupField({ label, required, value, onChange, client, config, activityId, fieldId, formData }: WfLookupFieldProps) { const [options, setOptions] = useState<{ label: string; value: string }[]>([]); const [loading, setLoading] = useState(true);