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.
This commit is contained in:
Mauricio Siu
2025-06-01 22:56:18 -06:00
parent df97dc0179
commit 4966bbeb73

View File

@@ -10,13 +10,7 @@ import {
CardTitle, CardTitle,
} from "@/components/ui/card"; } from "@/components/ui/card";
import { type RouterOutputs, api } from "@/utils/api"; import { type RouterOutputs, api } from "@/utils/api";
import { import { Clock, Loader2, RocketIcon, Settings, RefreshCcw } from "lucide-react";
Clock,
Loader2,
RocketIcon,
Settings,
ArrowDownToLine,
} from "lucide-react";
import React, { useEffect, useState } from "react"; import React, { useEffect, useState } from "react";
import { CancelQueues } from "./cancel-queues"; import { CancelQueues } from "./cancel-queues";
import { RefreshToken } from "./refresh-token"; import { RefreshToken } from "./refresh-token";
@@ -210,7 +204,7 @@ export const ShowDeployments = ({
size="sm" size="sm"
isLoading={isRollingBack} isLoading={isRollingBack}
> >
<ArrowDownToLine className="size-4 text-primary group-hover:text-red-500" /> <RefreshCcw className="size-4 text-primary group-hover:text-red-500" />
Rollback Rollback
</Button> </Button>
</DialogAction> </DialogAction>