Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
[C-3015] Add back button to new upload flow edit page (#3955)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Shanks authored Aug 28, 2023
1 parent 353ca55 commit 16c07ef
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/web/src/pages/upload-page/UploadPageNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,15 @@ export const UploadPageNew = () => {
title='Upload'
description='Upload and publish audio content to the Audius platform'
contentClassName={styles.upload}
header={<Header primary={pageTitle} />}
header={
<Header
primary={pageTitle}
showBackButton={phase === Phase.EDIT}
onClickBack={() => {
setPhase(Phase.SELECT)
}}
/>
}
>
{page}
</Page>
Expand Down

0 comments on commit 16c07ef

Please sign in to comment.