Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Sep 28, 2024
1 parent 0c2e4fe commit 7e2f281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dialogs/transfer/weth-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -268,7 +268,7 @@ export function WETHForm({
}
}

return { buttonText, currentStep, totalSteps: steps.length }
return { buttonText }
}, [
needsWrapEth,
shouldWrapEth,
Expand Down

0 comments on commit 7e2f281

Please sign in to comment.