From 021c293e4642a36ea4c72a0a22d5b790c7683cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Oliv=C3=A9?= Date: Wed, 23 Aug 2023 13:58:58 +0200 Subject: [PATCH] Removed code fences that were causing to not being able to sign correctly (#20560) --- ui/components/app/signature-request/signature-request.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ui/components/app/signature-request/signature-request.js b/ui/components/app/signature-request/signature-request.js index 25c64e759..33a865478 100644 --- a/ui/components/app/signature-request/signature-request.js +++ b/ui/components/app/signature-request/signature-request.js @@ -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,