fix inconsistent button text (#1168)

This commit is contained in:
Shuchang Zheng
2024-11-11 05:26:45 -08:00
committed by GitHub
parent dd3869b3b7
commit 30b83646c2

View File

@@ -22,7 +22,7 @@ import {
import { useCredentialGetter } from "@/hooks/useCredentialGetter";
import { basicTimeFormat } from "@/util/timeFormat";
import { cn } from "@/util/utils";
import { Pencil2Icon } from "@radix-ui/react-icons";
import { Pencil2Icon, PlayIcon } from "@radix-ui/react-icons";
import { useQuery } from "@tanstack/react-query";
import {
Link,
@@ -88,13 +88,14 @@ function WorkflowPage() {
<div className="flex gap-2">
<Button asChild variant="secondary">
<Link to={`/workflows/${workflowPermanentId}/edit`}>
<Pencil2Icon className="mr-2 h-4 w-4" />
Edit Workflow
<Pencil2Icon className="mr-2 size-4" />
Edit
</Link>
</Button>
<Button asChild>
<Link to={`/workflows/${workflowPermanentId}/run`}>
Create New Run
<PlayIcon className="mr-2 size-4" />
Run
</Link>
</Button>
</div>