Skip to content

/trustline - show token description #514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pages/services/trustline.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,20 @@ export default function TrustSet({ setSignRequest, currencyQuery, currencyIssuer
excludeNative={true}
currencyQueryName="currency"
/>
{selectedToken.description && (
<div style={{ marginTop: 10 }}>
<span className="grey">
<b>Description (by the Token issuer):</b> {selectedToken.description}
</span>
<br />
<br />
<span className="orange">
We do not take responsibility for the accuracy of the token descriptions or related information.
Users should always do their own research (DYOR). The content is for informational purposes only,
not financial advice.
</span>
</div>
)}
</div>
) : (
// Advanced Mode
Expand Down