Skip to content

Commit

Permalink
Merge pull request #49 from ethereum-optimism/01-14-nit_bridge_wizard…
Browse files Browse the repository at this point in the history
…_asks_for_recipient_later

nit: bridge wizard asks for recipient later
  • Loading branch information
jakim929 authored Jan 15, 2025
2 parents d97d072 + ec9847a commit 0ee208a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/cli/src/bridge-wizard/bridgeWizardStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ import {createWizardStore} from '@/wizard-builder/createWizardStore';
import {zodAddress} from '@/validators/schemas';

const bridgeWizard = defineWizard()
.addStep({
id: 'enter-recipient',
schema: z.object({
recipient: zodAddress,
}),
title: 'Enter Recipient',
getSummary: () => '',
})
.addStep({
id: 'select-network',
schema: z.object({
Expand All @@ -29,6 +21,14 @@ const bridgeWizard = defineWizard()
title: 'Select Chains',
getSummary: state => `${state.chains.join(', ')}`,
})
.addStep({
id: 'enter-recipient',
schema: z.object({
recipient: zodAddress,
}),
title: 'Enter Recipient',
getSummary: () => '',
})
.addStep({
id: 'enter-amount',
schema: z.object({
Expand Down

0 comments on commit 0ee208a

Please sign in to comment.