mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore: lint
This commit is contained in:
@@ -13,20 +13,20 @@ import { DateTooltip } from "@/components/shared/date-tooltip";
|
|||||||
|
|
||||||
interface PreviewDeploymentCardProps {
|
interface PreviewDeploymentCardProps {
|
||||||
appName: string;
|
appName: string;
|
||||||
serverId: string;
|
serverId: string | undefined;
|
||||||
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;
|
domainId: string | undefined;
|
||||||
domainHost: string;
|
domainHost: string | undefined;
|
||||||
|
|
||||||
pullRequestTitle: string;
|
pullRequestTitle: string | undefined;
|
||||||
pullRequestUrl: string;
|
pullRequestUrl: string | undefined;
|
||||||
status: "running" | "error" | "done" | "idle" | undefined | null;
|
status: "running" | "error" | "done" | "idle" | undefined | null;
|
||||||
branch: string;
|
branch: string | undefined;
|
||||||
date: string;
|
date: string | undefined;
|
||||||
isLoading: boolean;
|
isLoading: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
import {
|
||||||
Card,
|
Card,
|
||||||
CardContent,
|
CardContent,
|
||||||
@@ -10,7 +7,7 @@ import {
|
|||||||
} from "@/components/ui/card";
|
} from "@/components/ui/card";
|
||||||
import { api } from "@/utils/api";
|
import { api } from "@/utils/api";
|
||||||
import { RocketIcon } from "lucide-react";
|
import { RocketIcon } from "lucide-react";
|
||||||
import React, { useState } from "react";
|
import React from "react";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import { PreviewDeploymentCard } from "./preview-deployment-card";
|
import { PreviewDeploymentCard } from "./preview-deployment-card";
|
||||||
import { ShowPreviewSettings } from "./show-preview-settings";
|
import { ShowPreviewSettings } from "./show-preview-settings";
|
||||||
@@ -95,7 +92,7 @@ export const ShowPreviewDeployments = ({ applicationId }: Props) => {
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<PreviewDeploymentCard
|
<PreviewDeploymentCard
|
||||||
key={previewDeployment?.previewDeploymentId}
|
key={previewDeployment?.previewDeploymentId || ""}
|
||||||
appName={previewDeployment.appName}
|
appName={previewDeployment.appName}
|
||||||
serverId={data?.serverId || ""}
|
serverId={data?.serverId || ""}
|
||||||
onDeploymentDelete={handleDeletePreviewDeployment}
|
onDeploymentDelete={handleDeletePreviewDeployment}
|
||||||
|
|||||||
Reference in New Issue
Block a user