From c322f5ef8c058088c442d697ecf76b2cd4425b28 Mon Sep 17 00:00:00 2001 From: Alia Aamir Date: Mon, 11 Dec 2023 00:02:59 -0500 Subject: [PATCH] feat: update native avaxc recovery forms WP-1135 --- .../BuildUnsignedSweepCoin/AvalancheCForm.tsx | 10 ---------- .../BuildUnsignedSweepCoin/BuildUnsignedSweepCoin.tsx | 3 +-- src/containers/NonBitGoRecoveryCoin/AvalancheCForm.tsx | 10 ---------- .../NonBitGoRecoveryCoin/NonBitGoRecoveryCoin.tsx | 3 +-- 4 files changed, 2 insertions(+), 24 deletions(-) diff --git a/src/containers/BuildUnsignedSweepCoin/AvalancheCForm.tsx b/src/containers/BuildUnsignedSweepCoin/AvalancheCForm.tsx index d2a77468..60cc5734 100644 --- a/src/containers/BuildUnsignedSweepCoin/AvalancheCForm.tsx +++ b/src/containers/BuildUnsignedSweepCoin/AvalancheCForm.tsx @@ -4,7 +4,6 @@ import * as Yup from 'yup'; import { Button, FormikTextfield } from '~/components'; const validationSchema = Yup.object({ - apiKey: Yup.string().required(), backupKey: Yup.string().required(), backupKeyId: Yup.string(), gasLimit: Yup.number() @@ -36,7 +35,6 @@ export function AvalancheCForm({ onSubmit }: AvalancheCFormProps) { const formik = useFormik({ onSubmit, initialValues: { - apiKey: '', backupKey: '', backupKeyId: '', gasLimit: 500000, @@ -103,14 +101,6 @@ export function AvalancheCForm({ onSubmit }: AvalancheCFormProps) { Width="fill" /> -
- -
({ onSubmit, initialValues: { - apiKey: '', backupKey: '', gasLimit: 500000, gasPrice: 30, @@ -123,14 +121,6 @@ export function AvalancheCForm({ onSubmit }: AvalancheCFormProps) { Width="fill" />
-
- -