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 (