Skip to content

Commit b1acd1a

Browse files
committed
Renamed lifecycle hook icon to Function icon
1 parent d4a8e6d commit b1acd1a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/webapp/app/assets/icons/WebhookTaskIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function WebhookTaskIcon({ className }: { className?: string }) {
1+
export function FunctionIcon({ className }: { className?: string }) {
22
return (
33
<svg className={className} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
44
<rect

apps/webapp/app/components/runs/v3/RunIcon.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { TaskCachedIcon } from "~/assets/icons/TaskCachedIcon";
1515
import { PauseIcon } from "~/assets/icons/PauseIcon";
1616
import { RunFunctionIcon } from "~/assets/icons/RunFunctionIcon";
1717
import { MiddlewareIcon } from "~/assets/icons/MiddlewareIcon";
18-
import { WebhookTaskIcon } from "~/assets/icons/WebhookTaskIcon";
18+
import { FunctionIcon } from "~/assets/icons/WebhookTaskIcon";
1919
import { TriggerIcon } from "~/assets/icons/TriggerIcon";
2020

2121
type TaskIconProps = {
@@ -93,10 +93,10 @@ export function RunIcon({ name, className, spanName }: TaskIconProps) {
9393
case "task-hook-onResume":
9494
case "task-hook-onComplete":
9595
case "task-hook-cleanup":
96-
return <WebhookTaskIcon className={cn(className, "text-text-dimmed")} />;
96+
return <FunctionIcon className={cn(className, "text-text-dimmed")} />;
9797
case "task-hook-onFailure":
9898
case "task-hook-catchError":
99-
return <WebhookTaskIcon className={cn(className, "text-error")} />;
99+
return <FunctionIcon className={cn(className, "text-error")} />;
100100
}
101101

102102
return <InformationCircleIcon className={cn(className, "text-text-dimmed")} />;

0 commit comments

Comments
 (0)