mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Fix certain addresses without 3box and ens
This commit is contained in:
parent
8c5721560a
commit
dea4b0edc9
@ -92,7 +92,6 @@ const EventButtonAddress = (obj) => {
|
||||
let thisName;
|
||||
let thisIcon;
|
||||
if (hasENS) {
|
||||
if (thisInfo) {
|
||||
thisName = <h4 className="elipsText elipsOnMobileExtra">{thisInfo.domain}</h4>;
|
||||
if (thisInfo.avatar) {
|
||||
thisIcon =
|
||||
@ -100,10 +99,6 @@ const EventButtonAddress = (obj) => {
|
||||
<img alt="" src={thisInfo.avatar.url} width="20em" height="20em" style={{ margin: 0, padding: 0 }} />
|
||||
</a >
|
||||
}
|
||||
} else {
|
||||
thisName = <span className="elipsText elipsOnMobileExtra">{obj.address}</span>;
|
||||
thisIcon = null;
|
||||
}
|
||||
} else if (hasThreeBox) {
|
||||
if (thisInfo.name) {
|
||||
thisName = <h4 className="elipsText elipsOnMobileExtra">{thisInfo.name}</h4>;
|
||||
@ -115,6 +110,9 @@ const EventButtonAddress = (obj) => {
|
||||
} else {
|
||||
thisIcon = null;
|
||||
}
|
||||
} else {
|
||||
thisName = <span className="elipsText elipsOnMobileExtra">{obj.address}</span>;
|
||||
thisIcon = null;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user