@@ -84,23 +84,16 @@ export function RunIcon({ name, className, spanName }: TaskIconProps) {
8484 case "task-fn-run" :
8585 return < RunFunctionIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
8686 case "task-hook-init" :
87- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
8887 case "task-hook-onStart" :
89- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
9088 case "task-hook-onSuccess" :
91- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
92- case "task-hook-onFailure" :
93- return < WebhookTaskIcon className = { cn ( className , "text-error" ) } /> ;
94- case "task-hook-onComplete" :
95- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
9689 case "task-hook-onWait" :
97- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
9890 case "task-hook-onResume" :
91+ case "task-hook-onComplete" :
92+ case "task-hook-cleanup" :
9993 return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
94+ case "task-hook-onFailure" :
10095 case "task-hook-catchError" :
10196 return < WebhookTaskIcon className = { cn ( className , "text-error" ) } /> ;
102- case "task-hook-cleanup" :
103- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
10497 }
10598
10699 return < InformationCircleIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
0 commit comments