aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui/party.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/components/ui/party.tsx')
-rw-r--r--packages/website/ts/components/ui/party.tsx50
1 files changed, 27 insertions, 23 deletions
diff --git a/packages/website/ts/components/ui/party.tsx b/packages/website/ts/components/ui/party.tsx
index f9e0967d4..a14b94d8a 100644
--- a/packages/website/ts/components/ui/party.tsx
+++ b/packages/website/ts/components/ui/party.tsx
@@ -94,14 +94,17 @@ export class Party extends React.Component<PartyProps, PartyState> {
<ReactTooltip id={registeredTooltipId}>
{isRegistered ? (
<div>
- This token address was found in the token registry<br />
+ This token address was found in the token registry
+ <br />
smart contract and is therefore believed to be a<br />
legitimate token.
</div>
) : (
<div>
- This token is not included in the token registry<br />
- smart contract. We cannot guarantee the legitimacy<br />
+ This token is not included in the token registry
+ <br />
+ smart contract. We cannot guarantee the legitimacy
+ <br />
of this token. Make sure to verify its address on Etherscan.
</div>
)}
@@ -109,27 +112,28 @@ export class Party extends React.Component<PartyProps, PartyState> {
</div>
</div>
)}
- {!_.isUndefined(this.props.hasUniqueNameAndSymbol) &&
- !this.props.hasUniqueNameAndSymbol && (
- <div>
- <div
- data-tip={true}
- data-for={uniqueNameAndSymbolTooltipId}
- className="mx-auto"
- style={{ fontSize: 13, width: 127 }}
- >
- <span style={{ color: colors.red500 }}>
- <i className="zmdi zmdi-alert-octagon" />
- </span>{' '}
- <span>Suspicious token</span>
- <ReactTooltip id={uniqueNameAndSymbolTooltipId}>
- This token shares it's name, symbol or both with<br />
- a token in the 0x Token Registry but it has a different<br />
- smart contract address. This is most likely a scam token!
- </ReactTooltip>
- </div>
+ {!_.isUndefined(this.props.hasUniqueNameAndSymbol) && !this.props.hasUniqueNameAndSymbol && (
+ <div>
+ <div
+ data-tip={true}
+ data-for={uniqueNameAndSymbolTooltipId}
+ className="mx-auto"
+ style={{ fontSize: 13, width: 127 }}
+ >
+ <span style={{ color: colors.red500 }}>
+ <i className="zmdi zmdi-alert-octagon" />
+ </span>{' '}
+ <span>Suspicious token</span>
+ <ReactTooltip id={uniqueNameAndSymbolTooltipId}>
+ This token shares it's name, symbol or both with
+ <br />
+ a token in the 0x Token Registry but it has a different
+ <br />
+ smart contract address. This is most likely a scam token!
+ </ReactTooltip>
</div>
- )}
+ </div>
+ )}
</div>
</div>
);