fix(onboarding): Add missing return statement when changing endpoints

This commit is contained in:
Drew Regitsky 2016-04-13 17:41:31 -07:00
parent d098c96653
commit b0fbdf7469

View file

@ -399,6 +399,7 @@ class AccountSettingsPage extends React.Component
errorMessage: 'The IMAP/SMTP servers for this account do not match our records. Please verify that any server names you entered are correct. If your IMAP/SMTP server has changed, first remove this account from N1, then try logging in again.'
@_resize()
OnboardingActions.moveToPage("account-settings")
return
if errorFieldNames
{pageNumber, errorMessage} = @_stateForMissingFieldNames(errorFieldNames)