Skip to content

Commit

Permalink
Merge pull request #1536 from nervosnetwork/testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY authored Apr 2, 2024
2 parents 881fada + e47f157 commit 53c4c00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/components/Decoder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,10 @@ const Decoder = () => {
}
case DecodeMethod.BTCTimeLock: {
const res = parseBtcTimeLockArgs(v)
const json = { ...res, script: JSON.stringify(res.script, null, 2) }
return {
display: jsonToList({
...res,
script: JSON.stringify(res.script, null, 2),
}),
copy: res,
display: jsonToList(json),
copy: json,
}
}
case DecodeMethod.Address: {
Expand Down
1 change: 1 addition & 0 deletions src/components/Decoder/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
align-items: center;
padding: 0.5rem calc(1.5rem - 2px);
cursor: pointer;
white-space: nowrap;

&::after {
content: '';
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Transaction/TransactionCell/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const Addr: FC<{ address: string; isCellBase: boolean }> = ({ address, is
</Tooltip>

<Tooltip placement="top" title={<CopyTooltipText content={address} />}>
<Link to={`/address/${address}`} className="monospace TransactionItemCell_text__RoMn0">
<Link to={`/address/${address}`} className="monospace">
{alias}
</Link>
</Tooltip>
Expand Down

0 comments on commit 53c4c00

Please sign in to comment.