do not show 'previous' button in last step
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
4a96507cd1
commit
90cb114237
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ const ReportModal = ({ onClose }: IReportModal) => {
|
|||
title={<FormattedMessage id='report.target' defaultMessage='Reporting {target}' values={{ target: <strong>@{account.acct}</strong> }} />}
|
||||
onClose={onClose}
|
||||
cancelText={cancelText}
|
||||
cancelAction={cancelAction}
|
||||
cancelAction={currentStep === Steps.THREE ? undefined : cancelAction}
|
||||
confirmationAction={handleNextStep}
|
||||
confirmationText={confirmationText}
|
||||
confirmationDisabled={isConfirmationButtonDisabled}
|
||||
|
|
Loading…
Reference in a new issue