Skip to content

Commit a2d7e7f

Browse files
committed
fix(new-issuer): step 3 back warning
1 parent 754f7a5 commit a2d7e7f

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)