mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Giantly tiny cleanup
This commit is contained in:
parent
94aa2a1d38
commit
6f9f9cfd9a
@ -16,7 +16,7 @@ const EventButton = (obj) => {
|
||||
</div>
|
||||
} else if (obj.name == "Bond") {
|
||||
eventSpecificInfo = <div className="row" style={{ backgroundColor: 'rgba(50,50,50,0.3)' }}>
|
||||
<p>Bond: {obj.data.delegator} delegated {obj.data.bondedAmount / 1000000000000000000} LPT from {obj.data.oldDelegate} to {obj.data.newDelegate}</p>
|
||||
<p>{obj.data.delegator} delegated {obj.data.bondedAmount / 1000000000000000000} LPT from {obj.data.oldDelegate} to {obj.data.newDelegate}</p>
|
||||
</div>
|
||||
} else if (obj.name == "Rebond") {
|
||||
eventSpecificInfo = <div className="row">
|
||||
@ -32,11 +32,11 @@ const EventButton = (obj) => {
|
||||
</div>
|
||||
} else if (obj.name == "TranscoderUpdate") {
|
||||
eventSpecificInfo = <div className="row" style={{ backgroundColor: 'rgba(245, 5, 89, 0.3)' }}>
|
||||
<p>Reward: O {obj.data.transcoder} changed their rewardCut to {obj.data.rewardCut} and their feeShare to {obj.data.feeShare}</p>
|
||||
<p>O {obj.data.transcoder} changed their rewardCut to {obj.data.rewardCut} and their feeShare to {obj.data.feeShare}</p>
|
||||
</div>
|
||||
} else if (obj.name == "TranscoderActivated") {
|
||||
eventSpecificInfo = <div className="row" style={{ backgroundColor: 'rgba(0, 255, 1, 0.3)' }}>
|
||||
<p>Reward: O {obj.data.transcoder} activated and will become active in {obj.data.activationRound}</p>
|
||||
<p>O {obj.data.transcoder} activated and will become active in {obj.data.activationRound}</p>
|
||||
</div>
|
||||
} else {
|
||||
console.log(obj);
|
||||
|
Loading…
x
Reference in New Issue
Block a user