Skip to content

Commit 391140a

Browse files
committed
Added new timedout icon
1 parent 9119f55 commit 391140a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function RunsIcon({ className }: { className?: string }) {
1+
export function TimedOutIcon({ className }: { className?: string }) {
22
return (
33
<svg
44
className={className}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import {
1515
import { TaskRunStatus } from "@trigger.dev/database";
1616
import assertNever from "assert-never";
1717
import { SnowflakeIcon } from "lucide-react";
18+
import { TimedOutIcon } from "~/assets/icons/TimedOutIcon";
1819
import { Spinner } from "~/components/primitives/Spinner";
1920
import { cn } from "~/utils/cn";
2021

@@ -68,7 +69,7 @@ const taskRunStatusDescriptions: Record<TaskRunStatus, string> = {
6869
PAUSED: "Task has been paused by the user",
6970
CRASHED: "Task has crashed and won't be retried",
7071
EXPIRED: "Task has surpassed its ttl and won't be executed",
71-
TIMED_OUT: "Task has reached it's maxDuration and has been stopped",
72+
TIMED_OUT: "Task has reached its maxDuration and has been stopped",
7273
};
7374

7475
export const QUEUED_STATUSES = [
@@ -145,7 +146,7 @@ export function TaskRunStatusIcon({
145146
case "EXPIRED":
146147
return <TrashIcon className={cn(runStatusClassNameColor(status), className)} />;
147148
case "TIMED_OUT":
148-
return <StopIcon className={cn(runStatusClassNameColor(status), className)} />;
149+
return <TimedOutIcon className={cn(runStatusClassNameColor(status), className)} />;
149150

150151
default: {
151152
assertNever(status);

0 commit comments

Comments
 (0)