mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 02:35:09 +02:00
Handle WithdrawFees. And also hide it
This commit is contained in:
parent
bc263eed26
commit
1ba7ddfd89
@ -24,7 +24,7 @@ const EventButton = (obj) => {
|
||||
</div>
|
||||
} else if (obj.name == "WithdrawFees") {
|
||||
eventSpecificInfo = <div className="row">
|
||||
<p>WithdrawFees: {obj.data.amount / 1000000000000000000} Eth {obj.data.delegator} to {obj.data.recipient}</p>
|
||||
<p>{obj.data.recipient} claimed stake</p>
|
||||
</div>
|
||||
} else if (obj.name == "Reward") {
|
||||
eventSpecificInfo = <div className="row" style={{ backgroundColor: 'rgba(0, 179, 221, 0.3)' }}>
|
||||
|
@ -22,6 +22,10 @@ const EventViewer = (obj) => {
|
||||
eventCache.push(eventObj);
|
||||
return;
|
||||
}
|
||||
// Skip WithdrawFees buttons cause they are not interesting for the MVP
|
||||
if (eventObj.name == "WithdrawFees"){
|
||||
return;
|
||||
}
|
||||
return <EventButton
|
||||
key={eventObj.transactionUrl + idx}
|
||||
transactionUrl={eventObj.transactionUrl}
|
||||
|
Loading…
x
Reference in New Issue
Block a user