Skip to content

Update unsupported token learn more link and add note about Blockaid #7882

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

Closed
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion packages/uniswap/src/constants/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const uniswapUrls = {
swapFeeInfo: `${helpUrl}/articles/20131678274957`,
swapProtection: `${helpUrl}/articles/18814993155853`,
swapSlippage: `${helpUrl}/articles/8643879653261-What-is-Price-Slippage-`,
tokenWarning: `${helpUrl}/articles/8723118437133-What-are-token-warnings-`,
tokenWarning: `${helpUrl}/articles/18783818770701-Unsupported-Token-List`,
transactionFailure: `${helpUrl}/articles/8643975058829-Why-did-my-transaction-fail-`,
uniswapXInfo: `${helpUrl}/articles/17544708791821`,
uniswapXFailure: `${helpUrl}/articles/17515489874189-Why-can-my-swap-not-be-filled-`,
Expand Down
5 changes: 5 additions & 0 deletions packages/uniswap/src/features/tokens/TokenWarningModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ function TokenWarningModalContent({
captionComponent={
<Text color="$neutral2" textAlign="center" variant="body3">
{`${subtitleText} `}
{severity === WarningSeverity.Blocked && (
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not make this change in this PR

<>
This warning is not from Blockaid.{' '}
</>
)}
<LearnMoreLink
display="inline"
textColor="$neutral1"
Expand Down