Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(app): orchestration component for new quick transfer flow #14808

Merged
merged 8 commits into from
Apr 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix return statement
  • Loading branch information
smb2268 committed Apr 15, 2024
commit 2b194cfd087382f1248830cba4fcd5e13cdbafc3
6 changes: 4 additions & 2 deletions app/src/organisms/QuickTransferFlow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const QuickTransferFlow = (): JSX.Element => {

const header = ORDERED_STEP_HEADERS[currentStep - 1]
let modalContent: JSX.Element | null = null
if (currentStep === 0) {
if (currentStep === 1) {
modalContent = (
<CreateNewTransfer
onNext={() => setCurrentStep(prevStep => prevStep + 1)}
Expand Down Expand Up @@ -159,7 +159,9 @@ export const QuickTransferFlow = (): JSX.Element => {
/>
<Flex marginTop={SPACING.spacing80}>{modalContent}</Flex>
</Flex>
) : null}
) : (
modalContent
)}
</>
)
}
Loading