Skip to content

Commit 1afba46

Browse files
committed
Made the no-runs message consistent with the others
1 parent 32e4fc6 commit 1afba46

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

apps/webapp/app/components/runs/RunsTable.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
import { StopIcon } from "@heroicons/react/24/outline";
22
import { CheckIcon } from "@heroicons/react/24/solid";
3-
import { useJob } from "~/hooks/useJob";
4-
import { useOrganization } from "~/hooks/useOrganizations";
5-
import { useProject } from "~/hooks/useProject";
6-
import { RunList } from "~/presenters/RunListPresenter.server";
3+
import { JobRunStatus, RuntimeEnvironmentType } from "@trigger.dev/database";
74
import { formatDuration } from "~/utils";
8-
import { JobForPath, OrgForPath, ProjectForPath, jobRunDashboardPath } from "~/utils/pathBuilder";
95
import { EnvironmentLabel } from "../environments/EnvironmentLabel";
10-
import { Callout } from "../primitives/Callout";
116
import { DateTime } from "../primitives/DateTime";
7+
import { Paragraph } from "../primitives/Paragraph";
128
import { Spinner } from "../primitives/Spinner";
139
import {
1410
Table,
@@ -21,7 +17,6 @@ import {
2117
TableRow,
2218
} from "../primitives/Table";
2319
import { RunStatus } from "./RunStatuses";
24-
import { JobRunStatus, RuntimeEnvironmentType } from "@trigger.dev/database";
2520

2621
type RunTableItem = {
2722
id: string;
@@ -129,9 +124,7 @@ export function RunsTable({
129124
function NoRuns({ title }: { title: string }) {
130125
return (
131126
<div className="flex items-center justify-center">
132-
<Callout variant="info" className="w-auto">
133-
{title}
134-
</Callout>
127+
<Paragraph className="w-auto">{title}</Paragraph>
135128
</div>
136129
);
137130
}

0 commit comments

Comments
 (0)