import { Link } from "react-router-dom" import { cn } from "@/lib/utils" import type { NodeSummary } from "@/types" interface NodeBarProps { nodes: NodeSummary[] } export function NodeBar({ nodes }: NodeBarProps) { // Only show when there are remote nodes if (nodes.length <= 1) return null return (
{nodes.map((node) => ( {node.hostname} {!node.is_local && node.deployed_count > 0 && ( ({node.deployed_count}) )} ))}
) }