Skip to content

Commit ef62a7c

Browse files
Merge pull request #566 from PolymathNetwork/fix/step3-extra-confirm
fix(new-issuer): step 3 back warning
2 parents 7144113 + a2d7e7f commit ef62a7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/new-polymath-issuer/src/pages/DividendsWizard

packages/new-polymath-issuer/src/pages/DividendsWizard/Presenter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export class Presenter extends Component<Props, State> {
253253
if (stepIndex > 0) {
254254
event.preventDefault();
255255
event.stopPropagation();
256-
if (this.state.isDirty) {
256+
if (stepIndex === 1 && this.state.isDirty) {
257257
this.openConfirmModal();
258258
} else {
259259
onPreviousStep();

0 commit comments

Comments
 (0)