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,
} 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}
>
<ArrowDownToLine className="size-4 text-primary group-hover:text-red-500" />
<RefreshCcw className="size-4 text-primary group-hover:text-red-500" />
Rollback
</Button>
</DialogAction>