= () => {
title="Success!"
buttonText="Login"
dataTest="register-success-message"
- onButtonClick={onLoginButtonClick(history, dispatch, clientId)}
+ onButtonClick={onLoginButtonClick(history)}
isCenter
>
Check your email to confirm your account
@@ -183,15 +177,9 @@ export const Register: React.FunctionComponent = () => {
Register
- {clientId ? (
-
- Back to home
-
- ) : (
-
- Already have an account?Login
-
- )}
+
+ Already have an account?Login
+
{formState === 'ERROR' && (
)}