@@ -84,23 +84,16 @@ export function RunIcon({ name, className, spanName }: TaskIconProps) {
84
84
case "task-fn-run" :
85
85
return < RunFunctionIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
86
86
case "task-hook-init" :
87
- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
88
87
case "task-hook-onStart" :
89
- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
90
88
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" ) } /> ;
96
89
case "task-hook-onWait" :
97
- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
98
90
case "task-hook-onResume" :
91
+ case "task-hook-onComplete" :
92
+ case "task-hook-cleanup" :
99
93
return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
94
+ case "task-hook-onFailure" :
100
95
case "task-hook-catchError" :
101
96
return < WebhookTaskIcon className = { cn ( className , "text-error" ) } /> ;
102
- case "task-hook-cleanup" :
103
- return < WebhookTaskIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
104
97
}
105
98
106
99
return < InformationCircleIcon className = { cn ( className , "text-text-dimmed" ) } /> ;
0 commit comments