Skip to content

Commit 684f5fd

Browse files
committed
fix: comments
1 parent f299ba2 commit 684f5fd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/neuron-ui/src/components/CellManagement/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ const CellManagement = () => {
393393
<RecycleUDTCellDialog
394394
data={{
395395
tokenID: operateCells[0].type.args,
396-
address: operateCells[0].lock.args,
396+
lockArgs: operateCells[0].lock.args,
397397
outpoint: operateCells[0].outPoint,
398398
}}
399399
onClose={onActionCancel}

packages/neuron-ui/src/components/RecycleUDTCellDialog/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
import styles from './recycleUDTCellDialog.module.scss'
3232

3333
export interface DataProps {
34-
address: string
34+
lockArgs: string
3535
tokenID: string
3636
outpoint?: CKBComponents.OutPoint
3737
}
@@ -73,7 +73,7 @@ const RecycleUDTCellDialog = ({
7373
t,
7474
})
7575

76-
const { address: holder, tokenID, outpoint } = data
76+
const { lockArgs: holder, tokenID, outpoint } = data
7777

7878
const isMainnet = isMainnetUtil(networks, networkID)
7979

packages/neuron-ui/src/components/SUDTAccountList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const SUDTAccountList = () => {
137137
break
138138
}
139139
setRecycleData({
140-
address: addressToScript(account.address, { isMainnet }).args,
140+
lockArgs: addressToScript(account.address, { isMainnet }).args,
141141
tokenID: account.tokenId,
142142
})
143143
break

0 commit comments

Comments
 (0)