From 506679c80c677bea3e618f5600b27e4e5190354b Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Tue, 10 Dec 2024 00:34:18 +0200 Subject: [PATCH] fix: integration --- .../test-workflow-logs-sidebar.tsx | 10 +++++--- .../test-workflow/test-workflow-tabs.tsx | 25 ------------------- 2 files changed, 7 insertions(+), 28 deletions(-) diff --git a/apps/dashboard/src/components/workflow-editor/test-workflow/test-workflow-logs-sidebar.tsx b/apps/dashboard/src/components/workflow-editor/test-workflow/test-workflow-logs-sidebar.tsx index 2f5f62c9de2..28c3fcdf56b 100644 --- a/apps/dashboard/src/components/workflow-editor/test-workflow/test-workflow-logs-sidebar.tsx +++ b/apps/dashboard/src/components/workflow-editor/test-workflow/test-workflow-logs-sidebar.tsx @@ -3,6 +3,7 @@ import { ActivityPanel } from '@/components/activity/activity-panel'; import { useActivities } from '@/hooks/use-activities'; import { useEffect, useState } from 'react'; import { JobStatusEnum } from '@novu/shared'; +import { Loader2 } from 'lucide-react'; interface TestWorkflowLogsSidebarProps { transactionId?: string; @@ -10,7 +11,7 @@ interface TestWorkflowLogsSidebarProps { export const TestWorkflowLogsSidebar = ({ transactionId }: TestWorkflowLogsSidebarProps) => { const [shouldRefetch, setShouldRefetch] = useState(true); - const { activities, isLoading } = useActivities( + const { activities } = useActivities( { filters: transactionId ? { transactionId } : undefined, }, @@ -39,9 +40,12 @@ export const TestWorkflowLogsSidebar = ({ transactionId }: TestWorkflowLogsSideb return (