File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ class StakingClaimModal extends React.Component {
124
124
( item ) => item !== null && item . get ( "name" ) === trustNodeName
125
125
) ;
126
126
this . setState ( {
127
- trustNodeId : trustNode [ 0 ] . get ( "id" )
127
+ trustNodeId : trustNode . get ( 0 ) . get ( "id" )
128
128
} ) ;
129
129
} else {
130
130
this . setState ( {
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ class StakingCreateModal extends React.Component {
153
153
AccountActions . createStaking (
154
154
currentProgramID ,
155
155
this . state . ownerId ,
156
- ChainStore . getWitnessById ( this . state . trustNodeId ) . get ( "id" ) ,
156
+ ChainStore . getWitnessById ( this . state . trustNode . get ( "id" ) ) . get ( "id" ) ,
157
157
amount * precision ,
158
158
currentProgram . weight ,
159
159
currentProgram . staking_days
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class StakingUpdateModal extends React.Component {
122
122
if ( trustNodeName ) {
123
123
let trustNode = this . state . trustNodes . filter ( item => item !== null && item . get ( "name" ) === trustNodeName ) ;
124
124
this . setState ( {
125
- trustNodeId : trustNode [ 0 ] . get ( "id" )
125
+ trustNodeId : trustNode . get ( 0 ) . get ( "id" )
126
126
} ) ;
127
127
} else {
128
128
this . setState ( {
You can’t perform that action at this time.
0 commit comments