fix: Remove document on go back click on step 1 (#910)

 Fixes #903 
 Invoke `onBackStep` on "Go Back" click and conditionally render
Go back label string.
This commit is contained in:
Lucas Smith
2024-05-24 14:17:53 +10:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@ -248,6 +248,7 @@ export const SinglePlayerClient = () => {
recipients={uploadedFile ? [placeholderRecipient] : []}
fields={fields}
onSubmit={onFieldsSubmit}
canGoBack={true}
isDocumentPdfLoaded={true}
/>
</fieldset>