diff --git a/ui/pages/confirmations/components/confirm/info/approve/approve-static-simulation/approve-static-simulation.tsx b/ui/pages/confirmations/components/confirm/info/approve/approve-static-simulation/approve-static-simulation.tsx
index 8fd4c55e353a..c7a61eb89c71 100644
--- a/ui/pages/confirmations/components/confirm/info/approve/approve-static-simulation/approve-static-simulation.tsx
+++ b/ui/pages/confirmations/components/confirm/info/approve/approve-static-simulation/approve-static-simulation.tsx
@@ -65,7 +65,7 @@ export const ApproveStaticSimulation = () => {
);
- const simulationElements = (
+ const SpendingCapRow = (
@@ -93,6 +93,8 @@ export const ApproveStaticSimulation = () => {
);
+ const simulationElements = SpendingCapRow;
+
return (
{
- const [customSpendingCap, setCustomSpendingCap] = useState('');
-
- return { customSpendingCap, setCustomSpendingCap };
-};
diff --git a/ui/pages/confirmations/components/confirm/info/approve/revoke-static-simulation/revoke-static-simulation.tsx b/ui/pages/confirmations/components/confirm/info/approve/revoke-static-simulation/revoke-static-simulation.tsx
index 5e51722a7479..199852538f17 100644
--- a/ui/pages/confirmations/components/confirm/info/approve/revoke-static-simulation/revoke-static-simulation.tsx
+++ b/ui/pages/confirmations/components/confirm/info/approve/revoke-static-simulation/revoke-static-simulation.tsx
@@ -16,29 +16,36 @@ export const RevokeStaticSimulation = () => {
currentConfirmation: TransactionMeta;
};
- const simulationElements = (
- <>
-
-
-
-
-
+ const TokenContractRow = (
+
+
+
+
-
+
+
+ );
-
-
-
-
-
+ const SpenderRow = (
+
+
+
+
-
+
+
+ );
+
+ const simulationElements = (
+ <>
+ {TokenContractRow}
+ {SpenderRow}
>
);