File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/neuron-ui/src/components
MultisigAddressNervosDAODialog Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -621,6 +621,7 @@ const MultisigAddress = () => {
621621
622622 { ! daoDisabledMessage && daoWithdrawAction . withdrawFromMultisig && daoWithdrawAction . isDialogOpen ? (
623623 < MultisigAddressNervosDAODialog
624+ balance = { multisigBanlances [ daoDepositAction . depositFromMultisig . fullPayload ] }
624625 closeDialog = { daoWithdrawAction . closeDialog }
625626 multisigConfig = { daoWithdrawAction . withdrawFromMultisig }
626627 />
Original file line number Diff line number Diff line change @@ -15,9 +15,11 @@ import hooks from './hooks'
1515import styles from './multisigAddressNervosDAODialog.module.scss'
1616
1717const MultisigAddressNervosDAODialog = ( {
18+ balance,
1819 multisigConfig,
1920 closeDialog,
2021} : {
22+ balance : string
2123 multisigConfig : MultisigConfig
2224 closeDialog : ( ) => void
2325} ) => {
@@ -170,7 +172,7 @@ const MultisigAddressNervosDAODialog = ({
170172 currentEpoch : epoch ,
171173 genesisBlockTimestamp,
172174 connectionStatus,
173- hasCkbBalance : + wallet . balance > 0 ,
175+ hasCkbBalance : + balance > 0 ,
174176 showDetailInExplorer : true ,
175177 isMainnet,
176178 }
You can’t perform that action at this time.
0 commit comments