File tree 1 file changed +15
-2
lines changed
ui/pages/confirm-transaction-base
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,11 @@ export default class ConfirmTransactionBase extends Component {
165
165
166
166
async pollLedgerReady ( ) {
167
167
const { fromAddress } = this . props ;
168
- const { pollingIntervalId } = this . state ;
168
+ const {
169
+ pollingIntervalId,
170
+ showingHardwareConnectionContents,
171
+ showingHardwareConnectionAdvancedPopover,
172
+ } = this . state ;
169
173
170
174
// Don't set off multiple calls to checkLedgerReady
171
175
if ( pollingIntervalId !== null ) {
@@ -179,7 +183,16 @@ export default class ConfirmTransactionBase extends Component {
179
183
// Don't let this check blow up the process
180
184
}
181
185
182
- this . setState ( { hardwareIsReady, pollingIntervalId : null } ) ;
186
+ this . setState ( {
187
+ hardwareIsReady,
188
+ pollingIntervalId : null ,
189
+ showingHardwareConnectionAdvancedPopover : hardwareIsReady
190
+ ? false
191
+ : showingHardwareConnectionAdvancedPopover ,
192
+ showingHardwareConnectionContents : hardwareIsReady
193
+ ? false
194
+ : showingHardwareConnectionContents ,
195
+ } ) ;
183
196
return undefined ;
184
197
}
185
198
You can’t perform that action at this time.
0 commit comments