refactor: remove unused import from device-card and devices-table components
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Has been cancelled

This commit is contained in:
i701 2025-04-12 14:38:35 +05:00
parent aff9d26e0e
commit 4e16c0ac54
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -44,7 +44,7 @@ export async function DevicesTable({
if (error.message === "Invalid token.") redirect("/auth/signin");
return <ClientErrorMessage message={error.message} />;
}
const { meta, data, links } = devices;
const { meta, data } = devices;
return (
<div>
{data?.length === 0 ? (