diff --git a/shared/modules/metametrics.js b/shared/modules/metametrics.js index 7bf4cec8a..78a80f048 100644 --- a/shared/modules/metametrics.js +++ b/shared/modules/metametrics.js @@ -68,7 +68,10 @@ export const segment = process.env.SEGMENT_WRITE_KEY : segmentNoop export const segmentLegacy = process.env.SEGMENT_LEGACY_WRITE_KEY - ? new Analytics(process.env.SEGMENT_LEGACY_WRITE_KEY, { flushAt, flushInterval }) + ? new Analytics(process.env.SEGMENT_LEGACY_WRITE_KEY, { + flushAt, + flushInterval, + }) : segmentNoop /** @@ -256,7 +259,6 @@ export function getTrackMetaMetricsEvent(metamaskVersion, getDynamicState) { } else { segment.track(trackOptions, callback) } - }) } } diff --git a/ui/app/selectors/permissions.js b/ui/app/selectors/permissions.js index 13f3b59bf..776db2234 100644 --- a/ui/app/selectors/permissions.js +++ b/ui/app/selectors/permissions.js @@ -207,6 +207,7 @@ export function getOrderedConnectedAccountsForActiveTab(state) { } = state const permissionsHistoryByAccount = + // eslint-disable-next-line camelcase permissionsHistory[activeTab.origin]?.eth_accounts?.accounts const orderedAccounts = getMetaMaskAccountsOrdered(state) const connectedAccounts = getPermittedAccountsForCurrentTab(state)