Skip to content

Commit

Permalink
Merge branch 'develop' into generate-diff-2024-07-05
Browse files Browse the repository at this point in the history
  • Loading branch information
jeeanribeiro authored Jul 5, 2024
2 parents 01082ef + 10cbd16 commit 77022d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import { EvmTransactionAlert } from '.'
import { IToken } from '@core/token'
import { openUrlInBrowser } from '@core/app/utils'
import { Alert } from '@bloomwalletio/ui'
export let parsedTokenApproval: IParsedTokenApproval
export let networkId: EvmNetworkId
Expand Down Expand Up @@ -37,6 +38,7 @@
{#if tokenTransfer.token}
<TransactionAssetSection {tokenTransfer} />
{:else}
<Alert variant="warning" text={localize('popups.tokenApproval.warning')} />
<Table
collapsible
collapsibleTitle={localize('general.details')}
Expand Down
1 change: 1 addition & 0 deletions packages/shared/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,7 @@
"tokenApproval": {
"title": "Approve {dappName} to access {assetName}",
"hint": "{address} is requesting approval to spend {assetName}",
"warning": "You don't own any of the approved tokens. Only approve tokens you trust.",
"action": "Approve",
"success": "Successfully approved"
},
Expand Down

0 comments on commit 77022d0

Please sign in to comment.