1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00

Merge pull request #7579 from whymarrh/fix-dai-notification

Don't overwrite state when setting inactive timeout
This commit is contained in:
Thomas Huang 2019-11-26 13:47:55 -08:00 committed by GitHub
commit 5e34eeff96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ class AppStateController {
* @private * @private
*/ */
_setInactiveTimeout (timeoutMinutes) { _setInactiveTimeout (timeoutMinutes) {
this.store.putState({ this.store.updateState({
timeoutMinutes, timeoutMinutes,
}) })