diff --git a/src/Components/SignupPage/SignupPage.js b/src/Components/SignupPage/SignupPage.js index b42b6c0..d8d4b81 100644 --- a/src/Components/SignupPage/SignupPage.js +++ b/src/Components/SignupPage/SignupPage.js @@ -383,11 +383,10 @@ const SignupPage = () => { navigate("/dashboard"); } } catch (error) { + console.log("Error handling request", error, error.message); setIsBusy(false); - setNotice( - error.message || "Sorry, something went wrong. Please try again." - ); + setNotice("Sorry, something went wrong. Please try again."); } } }; @@ -403,6 +402,16 @@ const SignupPage = () => { const signupForm = (
+ {showNoticeOnPage ? ( + <> +

+
+ {notice} +
+ + ) : ( + <> + )}

Create A Novodraft Account

{!isUpgrade ? ( @@ -488,16 +497,6 @@ const SignupPage = () => { />
Free trial available!
- {showNoticeOnPage ? ( - <> -

-
- {notice} -
- - ) : ( - <> - )}
); const disableIndex =