From 7e2f281d4eec9070e93b425d22f4634b0a5c3e8a Mon Sep 17 00:00:00 2001 From: sehyunc <41171808+sehyunc@users.noreply.github.com> Date: Fri, 27 Sep 2024 17:11:03 -0700 Subject: [PATCH] s --- components/dialogs/transfer/weth-form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dialogs/transfer/weth-form.tsx b/components/dialogs/transfer/weth-form.tsx index 5c074987..3e16a8c5 100644 --- a/components/dialogs/transfer/weth-form.tsx +++ b/components/dialogs/transfer/weth-form.tsx @@ -237,7 +237,7 @@ export function WETHForm({ const { data: maintenanceMode } = useMaintenanceMode() - const { buttonText, currentStep, totalSteps } = React.useMemo(() => { + const { buttonText } = React.useMemo(() => { const steps = [] if (needsWrapEth && shouldWrapEth) steps.push("Wrap") if (needsApproval) steps.push("Approve") @@ -268,7 +268,7 @@ export function WETHForm({ } } - return { buttonText, currentStep, totalSteps: steps.length } + return { buttonText } }, [ needsWrapEth, shouldWrapEth,