chore: lint

This commit is contained in:
usopp 2024-12-19 01:44:20 +01:00
parent 3858205e52
commit 3a95474662
2 changed files with 9 additions and 12 deletions

View File

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

View File

@ -1,6 +1,3 @@
import { DateTooltip } from "@/components/shared/date-tooltip";
import { StatusTooltip } from "@/components/shared/status-tooltip";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
@ -10,7 +7,7 @@ import {
} from "@/components/ui/card";
import { api } from "@/utils/api";
import { RocketIcon } from "lucide-react";
import React, { useState } from "react";
import React from "react";
import { toast } from "sonner";
import { PreviewDeploymentCard } from "./preview-deployment-card";
import { ShowPreviewSettings } from "./show-preview-settings";
@ -95,7 +92,7 @@ export const ShowPreviewDeployments = ({ applicationId }: Props) => {
</div>
) : (
<PreviewDeploymentCard
key={previewDeployment?.previewDeploymentId}
key={previewDeployment?.previewDeploymentId || ""}
appName={previewDeployment.appName}
serverId={data?.serverId || ""}
onDeploymentDelete={handleDeletePreviewDeployment}