mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix MMI build (#18415)
In the MMI build, the build fencing in this component resulted in an `else` block with no preceding `if` block, which is a syntax error. The fence in this case was meant to include "all non-Flask build types", MMI was mistakenly missing from that list. Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: António Regadas <apregadas@gmail.com>
This commit is contained in:
parent
b8422b0b43
commit
2029fb28ff
@ -247,7 +247,7 @@ export default class PermissionConnect extends Component {
|
||||
setTimeout(() => history.push(DEFAULT_ROUTE), APPROVE_TIMEOUT);
|
||||
}
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
///: BEGIN:ONLY_INCLUDE_IN(main,beta)
|
||||
///: BEGIN:ONLY_INCLUDE_IN(main,beta,mmi)
|
||||
if (approved) {
|
||||
setTimeout(() => history.push(DEFAULT_ROUTE), APPROVE_TIMEOUT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user