import React from "react"; import ScrollContainer from "react-indiana-drag-scroll"; import Stat from "./statViewer"; import ReactTooltip from "react-tooltip"; import Address from "./OrchAddressViewer"; import OrchDelegatorViewer from "./OrchDelegatorViewer"; import OrchInfoViewer from "./OrchInfoViewer"; function updateClipboard(newClip) { navigator.clipboard.writeText(newClip).then( () => { console.log("Copied!"); }, () => { console.log("Copy failed!"); } ); } function copyLink(addr) { navigator.permissions .query({ name: "clipboard-write" }) .then((result) => { if (result.state === "granted" || result.state === "prompt") { updateClipboard(addr); } }); } const Orchestrator = (obj) => { if (obj.thisOrchestrator) { if (obj.forceVertical) { return (
) }else{ return (
) } } if (obj.forceVertical) { return (

Orchestrator Info

Inspect an Orchestrator by clicking on their address

) } else { return (

Orchestrator Info

Inspect an Orchestrator by clicking on their address

) } } export default Orchestrator;