1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix to direct the token detection settings search to the correct row (#16407)

This commit is contained in:
Niranjana Binoy 2022-11-08 12:42:06 -05:00 committed by GitHub
parent 02088e445d
commit 6f27c9065c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,7 +185,7 @@ export default class AdvancedTab extends PureComponent {
return (
<div
ref={this.settingsRefs[15]}
ref={this.settingsRefs[14]}
className="settings-page__content-row"
data-testid="advanced-setting-data-restore"
>
@ -247,7 +247,7 @@ export default class AdvancedTab extends PureComponent {
const { t } = this.context;
return (
<div
ref={this.settingsRefs[14]}
ref={this.settingsRefs[13]}
className="settings-page__content-row"
data-testid="advanced-setting-data-backup"
>
@ -605,7 +605,7 @@ export default class AdvancedTab extends PureComponent {
: LEDGER_TRANSPORT_NAMES.U2F;
return (
<div ref={this.settingsRefs[11]} className="settings-page__content-row">
<div ref={this.settingsRefs[10]} className="settings-page__content-row">
<div className="settings-page__content-item">
<span>{t('preferredLedgerConnectionType')}</span>
<div className="settings-page__content-description">
@ -704,7 +704,7 @@ export default class AdvancedTab extends PureComponent {
return (
<div
ref={this.settingsRefs[10]}
ref={this.settingsRefs[9]}
className="settings-page__content-row"
data-testid="advanced-setting-ipfs-gateway"
>
@ -747,7 +747,7 @@ export default class AdvancedTab extends PureComponent {
return (
<div
ref={this.settingsRefs[12]}
ref={this.settingsRefs[11]}
className="settings-page__content-row"
data-testid="advanced-setting-dismiss-reminder"
>
@ -777,7 +777,7 @@ export default class AdvancedTab extends PureComponent {
return (
<div
ref={this.settingsRefs[13]}
ref={this.settingsRefs[12]}
className="settings-page__content-row"
data-testid="advanced-setting-token-detection"
>