From 1ad3c8b27516c9f813fcc787eebd13adffc2d64c Mon Sep 17 00:00:00 2001 From: Poyraz <78071274+poyrazavsever@users.noreply.github.com> Date: Tue, 16 Jun 2026 14:26:12 +0300 Subject: [PATCH] refactor: remove unused imports and state for improved code clarity --- app/(dashboard)/dashboard-client.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/(dashboard)/dashboard-client.tsx b/app/(dashboard)/dashboard-client.tsx index b0b62ec..37c35c7 100644 --- a/app/(dashboard)/dashboard-client.tsx +++ b/app/(dashboard)/dashboard-client.tsx @@ -2,11 +2,10 @@ import { useState } from "react"; import Link from "next/link"; -import { Badge, Button, Card, CardContent } from "poyraz-ui/atoms"; +import { Badge, Card, CardContent } from "poyraz-ui/atoms"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "poyraz-ui/molecules"; import { Bar, BarChart, CartesianGrid, ResponsiveContainer, Tooltip, XAxis, YAxis, Line, LineChart } from "recharts"; -import { CheckCircle2, Wallet, FolderKanban, Activity, CalendarDays, Plus, Users } from "lucide-react"; -import { QuickActionsSheet } from "@/components/dashboard/quick-actions-sheet"; +import { CheckCircle2, Wallet, FolderKanban, Activity, CalendarDays, Users } from "lucide-react"; export type DashboardData = { tasks: { id: string; status: string; created_at: string; updated_at?: string; due_at?: string }[]; @@ -22,7 +21,6 @@ type DashboardClientProps = { export function DashboardClient({ data }: DashboardClientProps) { const [dateRange, setDateRange] = useState("this_month"); - const [isQuickActionOpen, setIsQuickActionOpen] = useState(false); // Calculate real metrics from the `data` prop depending on `dateRange` const now = new Date();