Reverted all changes back to version f51d90d9cc
This commit is contained in:
@@ -17,7 +17,6 @@ import {
|
||||
Code,
|
||||
Eye,
|
||||
} from "lucide-react";
|
||||
import { CopyButton } from "@/components/copy-button";
|
||||
|
||||
interface TrackingDisplayProps {
|
||||
trackers: DetectedTracker[];
|
||||
@@ -102,19 +101,11 @@ export function TrackingDisplay({ trackers }: TrackingDisplayProps) {
|
||||
<div className="flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg bg-primary text-primary-foreground">
|
||||
<Icon className="h-6 w-6" />
|
||||
</div>
|
||||
<div className="flex-grow">
|
||||
<div>
|
||||
<h4 className="font-semibold text-lg">{tracker.name}</h4>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
{info.description}
|
||||
</p>
|
||||
{tracker.id && (
|
||||
<div className="mt-3 flex items-center gap-2 p-2 rounded-md bg-background border">
|
||||
<p className="font-mono text-sm text-foreground flex-grow break-all">
|
||||
{tracker.id}
|
||||
</p>
|
||||
<CopyButton textToCopy={tracker.id} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user