more
This commit is contained in:
@@ -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 = (
|
||||
<div className="signup-sub-container">
|
||||
{showNoticeOnPage ? (
|
||||
<>
|
||||
<br></br>
|
||||
<div className="alert alert-danger" role="alert">
|
||||
{notice}
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
<div className="signup-header">
|
||||
<h1 className="signup-header-text">Create A Novodraft Account</h1>
|
||||
{!isUpgrade ? (
|
||||
@@ -488,16 +497,6 @@ const SignupPage = () => {
|
||||
/>
|
||||
</div>
|
||||
<div className="signup-freebie-box ">Free trial available!</div>
|
||||
{showNoticeOnPage ? (
|
||||
<>
|
||||
<br></br>
|
||||
<div className="alert alert-danger" role="alert">
|
||||
{notice}
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
const disableIndex =
|
||||
|
||||
Reference in New Issue
Block a user