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 {
appName: string;
serverId: string | undefined;
serverId: string;
onDeploymentDelete: (deploymentId: string) => void;
deploymentId: string;
deploymentUrl: string;
deployments: RouterOutputs["deployment"]["all"];
domainId: string | undefined;
domainHost: string | undefined;
domainId: string;
domainHost: string;
pullRequestTitle: string | undefined;
pullRequestUrl: string | undefined;
pullRequestTitle: string;
pullRequestUrl: string;
status: "running" | "error" | "done" | "idle" | undefined | null;
branch: string | undefined;
date: string | undefined;
branch: string;
date: string;
isLoading: boolean;
}

View File

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