mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Create disclaimer approval reducer
This commit is contained in:
parent
e8ef8f3d2d
commit
08ecbcf242
@ -25,6 +25,11 @@ function reduceMetamask(state, action) {
|
||||
case actions.UPDATE_METAMASK_STATE:
|
||||
return extend(metamaskState, action.value)
|
||||
|
||||
case actions.AGREE_TO_DISCLAIMER:
|
||||
return extend(metamaskState, {
|
||||
isConfirmed: true,
|
||||
})
|
||||
|
||||
case actions.UNLOCK_METAMASK:
|
||||
return extend(metamaskState, {
|
||||
isUnlocked: true,
|
||||
|
Loading…
Reference in New Issue
Block a user