mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Removed code fences that were causing to not being able to sign correctly (#20560)
This commit is contained in:
parent
d3d30fd373
commit
021c293e46
@ -13,10 +13,8 @@ import { ethErrors, serializeError } from 'eth-rpc-errors';
|
||||
import { showCustodianDeepLink } from '@metamask-institutional/extension';
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
import {
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
|
||||
resolvePendingApproval,
|
||||
completedTx,
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
rejectPendingApproval,
|
||||
} from '../../../store/actions';
|
||||
import {
|
||||
@ -161,14 +159,11 @@ const SignatureRequest = ({ txData }) => {
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
|
||||
if (accountType === 'custody') {
|
||||
await custodySignFn(txData);
|
||||
return;
|
||||
}
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
|
||||
await dispatch(resolvePendingApproval(id));
|
||||
completedTx(id);
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
|
||||
trackEvent({
|
||||
category: MetaMetricsEventCategory.Transactions,
|
||||
|
Loading…
Reference in New Issue
Block a user