mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
86c6280bc3
* Remove unnecessary `getEnvironmentType` parameter The default value of the first parameter is `window.location.href`, so there is no need to pass it in explicitly. * Remove junk parameter from `getEnvironmentType` invocation `getEnvironmentType` doesn't need to be passed any parameter, as the default value is `window.location.href` which is generally what is wanted. In this case, the variable `location.href` was always `undefined` anyway. This particular `location` variable is from React Router, and does not have an `href` property. * Fix comment for `getEnvironmentType` One of the possible return values was referred to by the wrong name. |
||
---|---|---|
.. | ||
ens-ipfs | ||
migrator | ||
account-tracker.js | ||
auto-reload.js | ||
backend-metametrics.js | ||
buy-eth-url.js | ||
cleanErrorStack.js | ||
ComposableObservableStore.js | ||
createDnodeRemoteGetter.js | ||
createLoggerMiddleware.js | ||
createOnboardingMiddleware.js | ||
createOriginMiddleware.js | ||
createStreamSink.js | ||
enums.js | ||
extractEthjsErrorMessage.js | ||
fetch-with-timeout.js | ||
freezeGlobals.js | ||
get-first-preferred-lang-code.js | ||
getObjStructure.js | ||
local-store.js | ||
message-manager.js | ||
network-store.js | ||
nodeify.js | ||
notification-manager.js | ||
pending-balance-calculator.js | ||
personal-message-manager.js | ||
random-id.js | ||
reportFailedTxToSentry.js | ||
seed-phrase-verifier.js | ||
select-chain-id.js | ||
setupFetchDebugging.js | ||
setupSentry.js | ||
stream-utils.js | ||
typed-message-manager.js | ||
util.js |