chore: lint

This commit is contained in:
usopp
2024-12-19 01:58:18 +01:00
parent 3a95474662
commit 9d1cf3736b
2 changed files with 13 additions and 13 deletions

View File

@@ -13,20 +13,20 @@ import { DateTooltip } from "@/components/shared/date-tooltip";
interface PreviewDeploymentCardProps { interface PreviewDeploymentCardProps {
appName: string; appName: string;
serverId: string | undefined; serverId: string;
onDeploymentDelete: (deploymentId: string) => void; onDeploymentDelete: (deploymentId: string) => void;
deploymentId: string; deploymentId: string;
deploymentUrl: string; deploymentUrl: string;
deployments: RouterOutputs["deployment"]["all"]; deployments: RouterOutputs["deployment"]["all"];
domainId: string | undefined; domainId: string;
domainHost: string | undefined; domainHost: string;
pullRequestTitle: string | undefined; pullRequestTitle: string;
pullRequestUrl: string | undefined; pullRequestUrl: string;
status: "running" | "error" | "done" | "idle" | undefined | null; status: "running" | "error" | "done" | "idle" | undefined | null;
branch: string | undefined; branch: string;
date: string | undefined; date: string;
isLoading: boolean; isLoading: boolean;
} }

View File

@@ -99,15 +99,15 @@ export const ShowPreviewDeployments = ({ applicationId }: Props) => {
deploymentId={previewDeployment.previewDeploymentId} deploymentId={previewDeployment.previewDeploymentId}
deploymentUrl={`http://${domain?.host}`} deploymentUrl={`http://${domain?.host}`}
deployments={previewDeployment?.deployments || []} deployments={previewDeployment?.deployments || []}
domainId={domain?.domainId} domainId={domain?.domainId || ""}
domainHost={domain?.host} domainHost={domain?.host || ""}
pullRequestTitle={ pullRequestTitle={
previewDeployment?.pullRequestTitle previewDeployment?.pullRequestTitle || ""
} }
pullRequestUrl={previewDeployment?.pullRequestURL} pullRequestUrl={previewDeployment?.pullRequestURL || ""}
status={previewDeployment.previewStatus} status={previewDeployment.previewStatus}
branch={previewDeployment?.branch} branch={previewDeployment?.branch || ""}
date={previewDeployment?.createdAt} date={previewDeployment?.createdAt || ""}
isLoading={isLoading} isLoading={isLoading}
/> />
)} )}