Skip to content

Commit 1fb2923

Browse files
author
Tomas Caraccia
committed
fix: remove unused PRIORITY_CONFIG and icon imports from TicketPanel
1 parent c062b4c commit 1fb2923

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

web/src/components/TicketPanel.tsx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
import { useState } from "react";
2-
import {
3-
X,
4-
Trash2,
5-
CheckCircle2,
6-
Circle,
7-
AlertTriangle,
8-
ArrowUp,
9-
ArrowRight,
10-
ArrowDown,
11-
} from "lucide-react";
2+
import { X, Trash2, CheckCircle2, Circle } from "lucide-react";
123
import { api, type Ticket, type Project, type Team, type Subtask } from "../api/client";
134

145
const STATUSES = ["todo", "in_progress", "done"];
@@ -20,13 +11,6 @@ const STATUS_LABELS: Record<string, string> = {
2011
done: "Done",
2112
};
2213

23-
const PRIORITY_CONFIG: Record<string, { style: string; icon: typeof ArrowUp }> = {
24-
urgent: { style: "bg-red-500/20 text-red-400", icon: AlertTriangle },
25-
high: { style: "bg-orange-500/20 text-orange-400", icon: ArrowUp },
26-
medium: { style: "bg-yellow-500/20 text-yellow-400", icon: ArrowRight },
27-
low: { style: "bg-green-500/20 text-green-400", icon: ArrowDown },
28-
};
29-
3014
export default function TicketPanel({
3115
ticket,
3216
projects,

0 commit comments

Comments
 (0)