Skip to content

Commit ac5bb46

Browse files
committed
chore: Remove unused CANCELABLE_RUN_STATUSES import in RunCancelAction component
1 parent 74952a0 commit ac5bb46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/dashboard/src/components/run-cancel-action.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from "@/components/ui/alert-dialog";
1111
import { Button } from "@/components/ui/button";
1212
import { cancelWorkflowRunServerFn } from "@/lib/api";
13-
import { CANCELABLE_RUN_STATUSES, isRunCancelableStatus } from "@/lib/status";
13+
import { isRunCancelableStatus } from "@/lib/status";
1414
import type { WorkflowRunStatus } from "openworkflow/internal";
1515
import { useState } from "react";
1616

@@ -36,7 +36,6 @@ export function RunCancelAction({
3636
const [isOpen, setIsOpen] = useState(false);
3737
const [isCanceling, setIsCanceling] = useState(false);
3838
const [error, setError] = useState<string | null>(null);
39-
const cancelableStatuses = [...CANCELABLE_RUN_STATUSES].join(", ");
4039

4140
if (!isRunCancelableStatus(status)) {
4241
return null;

0 commit comments

Comments
 (0)