From bd21d9a1a14a2febf10115f8f5d1be4aa6fdc8a0 Mon Sep 17 00:00:00 2001 From: okbel Date: Tue, 1 May 2018 14:19:43 -0300 Subject: [PATCH] fix b --- .../client/profile-settings/components/ConfirmChangesDialog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/talk-plugin-auth/client/profile-settings/components/ConfirmChangesDialog.js b/plugins/talk-plugin-auth/client/profile-settings/components/ConfirmChangesDialog.js index 59eac894f..0031bcb71 100644 --- a/plugins/talk-plugin-auth/client/profile-settings/components/ConfirmChangesDialog.js +++ b/plugins/talk-plugin-auth/client/profile-settings/components/ConfirmChangesDialog.js @@ -44,7 +44,8 @@ class ConfirmChangesDialog extends React.Component { goToNextStep: this.goToNextStep, clear: this.clear, cancel: this.cancel, - next: this.state.step === steps.length ? this.finish : this.continue, + next: + this.state.step === steps.length - 1 ? this.finish : this.continue, }); }); };