Merge branch 'report-modal-previous' into 'develop'
do not show 'previous' button in last step See merge request soapbox-pub/soapbox!1964
This commit is contained in:
commit
c87826c419
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