diff --git a/src/fragments/lib-v1/auth/ios/password_management/10_reset_password.mdx b/src/fragments/lib-v1/auth/ios/password_management/10_reset_password.mdx index 17975337d94..ff4e9dbbeb9 100644 --- a/src/fragments/lib-v1/auth/ios/password_management/10_reset_password.mdx +++ b/src/fragments/lib-v1/auth/ios/password_management/10_reset_password.mdx @@ -48,7 +48,7 @@ func resetPassword(username: String) -> AnyCancellable { -Usually resetting the password require you to verify that it is the actual user that tried to reset the password. So the next step above will be `.confirmResetPasswordWithCode`. +Usually resetting the password require you to verify that it is the actual user that tried to reset the password. The next step above will be `.confirmResetPasswordWithCode`. If you are using Cognito and would like to display a more specific view or messaging to your users based the error that occurred, you can handle this by downcasting the `underlyingError` to `AWSCognitoAuthError`. diff --git a/src/fragments/lib/auth/ios/password_management/10_reset_password.mdx b/src/fragments/lib/auth/ios/password_management/10_reset_password.mdx index b9a99e80ddf..8ac7d4035cb 100644 --- a/src/fragments/lib/auth/ios/password_management/10_reset_password.mdx +++ b/src/fragments/lib/auth/ios/password_management/10_reset_password.mdx @@ -48,7 +48,7 @@ func resetPassword(username: String) -> AnyCancellable { -Usually resetting the password require you to verify that it is the actual user that tried to reset the password. So the next step above will be `.confirmResetPasswordWithCode`. +Usually resetting the password require you to verify that it is the actual user that tried to reset the password. The next step above will be `.confirmResetPasswordWithCode`. If you are using Cognito and would like to display a more specific view or messaging to your users based the error that occurred, you can handle this by downcasting the `underlyingError` to `AWSCognitoAuthError`. diff --git a/src/fragments/lib/utilities/js/hub.mdx b/src/fragments/lib/utilities/js/hub.mdx index 7dd47b92fa1..f8eb2d61b40 100644 --- a/src/fragments/lib/utilities/js/hub.mdx +++ b/src/fragments/lib/utilities/js/hub.mdx @@ -114,7 +114,7 @@ When using a "Capturing Group" (e.g. parenthesis grouping regular expressions) a ```javascript Hub.listen(/user(.*)/, (data) => { - console.log('A USER event has been found matching the pattern: ', data.payload.message ); + console.log('A USER event has been found matching the pattern: ', data.payload.message); console.log('patternInfo:', data.patternInfo); }) ```