mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Added Ticket Broker contract to watch for ticket redemptions Make links open in a new tab Slight formatting updates
20 lines
762 B
JavaScript
20 lines
762 B
JavaScript
import React from "react";
|
|
import ReactTooltip from "react-tooltip";
|
|
|
|
const Address = (obj) => {
|
|
return (
|
|
<div className="rowAlignLeft" style={{ width: 'unset', margin: 0 }}>
|
|
<a className="selectOrchLight" target="_blank" href={"https://explorer.livepeer.org/accounts/" + obj.address} data-tip data-for={obj.seed} >
|
|
<div className="rowAlignLeft" style={{ width: 'unset', margin: 0 }}>
|
|
<img alt="" src="livepeer.png" width="20" height="20" />
|
|
<span className="elipsText elipsOnMobile">{obj.address}</span>
|
|
</div>
|
|
</a>
|
|
<ReactTooltip id={obj.seed} place="top" effect="solid">
|
|
{"https://explorer.livepeer.org/accounts/" + obj.address}
|
|
</ReactTooltip>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Address; |