Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feat/permit_2' into tmp/20240725
Browse files Browse the repository at this point in the history
  • Loading branch information
richardo2016x committed Jul 26, 2024
2 parents 2f3156c + b5e3db4 commit 9256334
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _raw/locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,8 @@
"myApprovalTime": "My Approval Time"
},
"columnTip": {
"contractTrustValue": "Trust value refers to the total asset value approved and exposed to this contract. A low trust value indicates either risk or inactivity for 180 days.",
"contractTrustValueL1": "Trust value refers to the total asset value spent by this contract. A low trust value indicates either risk or inactivity for 180 days.",
"contractTrustValueL2": "Trust value refers to the top NFT value spent by this contract. A low trust value indicates either risk or inactivity for 180 days.",
"contractTrustValueWarning": "The contract trust value < $100,000",
"contractTrustValueDanger": "The contract trust value < $10,000"
}
Expand Down
9 changes: 8 additions & 1 deletion src/ui/views/ApprovalManagePage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,18 @@ function getColumnsForContract({
exposed to this contract. A low trust value indicates either
risk or inactivity for 180 days. */}
{t(
'page.approvals.tableConfig.byContracts.columnTip.contractTrustValue'
'page.approvals.tableConfig.byContracts.columnTip.contractTrustValueL1'
)}
</p>
<p className="mt-[12px]">
{/* Trust value refers to the top NFT value spent by this contract. A low trust value indicates either risk or inactivity for 180 days. */}
{t(
'page.approvals.tableConfig.byContracts.columnTip.contractTrustValueL2'
)}
</p>
</div>
}
// placement='topRight'
// visible
>
<ThemeIcon
Expand Down
1 change: 1 addition & 0 deletions src/ui/views/ApprovalManagePage/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@
.ant-tooltip-inner {
line-height: 18px;
border-radius: 2px;
background-color: var(--r-neutral-black);

p {
margin-bottom: 0;
Expand Down

0 comments on commit 9256334

Please sign in to comment.