From 4e16c0ac54a20e106023dd88fbab7bb1c9e7b766 Mon Sep 17 00:00:00 2001 From: i701 Date: Sat, 12 Apr 2025 14:38:35 +0500 Subject: [PATCH] refactor: remove unused import from device-card and devices-table components --- components/device-card.tsx | 2 +- components/devices-table.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/device-card.tsx b/components/device-card.tsx index 7a4380e..9fffc61 100644 --- a/components/device-card.tsx +++ b/components/device-card.tsx @@ -3,7 +3,7 @@ import { deviceCartAtom } from "@/lib/atoms"; import type { Device } from "@/lib/backend-types"; import { cn } from "@/lib/utils"; import { useAtom } from "jotai"; -import { HandCoins, Hourglass } from "lucide-react"; +import { HandCoins } from "lucide-react"; import Link from "next/link"; import AddDevicesToCartButton from "./add-devices-to-cart-button"; import BlockDeviceDialog from "./block-device-dialog"; diff --git a/components/devices-table.tsx b/components/devices-table.tsx index e2e89b9..c210651 100644 --- a/components/devices-table.tsx +++ b/components/devices-table.tsx @@ -44,7 +44,7 @@ export async function DevicesTable({ if (error.message === "Invalid token.") redirect("/auth/signin"); return ; } - const { meta, data, links } = devices; + const { meta, data } = devices; return (
{data?.length === 0 ? (