From 4966bbeb735582ffb31943f47f974dbab4bcb6e8 Mon Sep 17 00:00:00 2001
From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
Date: Sun, 1 Jun 2025 22:56:18 -0600
Subject: [PATCH] refactor: update icon in ShowDeployments component
- Replaced the ArrowDownToLine icon with RefreshCcw in the rollback button for improved clarity.
- Cleaned up unused imports from the component to streamline the code.
---
.../application/deployments/show-deployments.tsx | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx b/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx
index 5686671f3..d095e0efb 100644
--- a/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx
+++ b/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx
@@ -10,13 +10,7 @@ import {
CardTitle,
} from "@/components/ui/card";
import { type RouterOutputs, api } from "@/utils/api";
-import {
- Clock,
- Loader2,
- RocketIcon,
- Settings,
- ArrowDownToLine,
-} from "lucide-react";
+import { Clock, Loader2, RocketIcon, Settings, RefreshCcw } from "lucide-react";
import React, { useEffect, useState } from "react";
import { CancelQueues } from "./cancel-queues";
import { RefreshToken } from "./refresh-token";
@@ -210,7 +204,7 @@ export const ShowDeployments = ({
size="sm"
isLoading={isRollingBack}
>
-
+
Rollback