TS fix, Hero styles
This commit is contained in:
@@ -122,15 +122,15 @@ const SignUpPageView: React.FC<SignUpPageViewProps> = ({
|
||||
);
|
||||
}
|
||||
|
||||
const form = signUpForm !== null
|
||||
? renderForm()
|
||||
: <>Loading...</>;
|
||||
const form = signUpForm ? renderForm() : <>Loading...</>;
|
||||
|
||||
const signups = signUpForm && signUpForm.signups ? renderList(signUpForm) : null;
|
||||
return (
|
||||
<StyledSection>
|
||||
<h1>
|
||||
{signUpForm?.title_fi || ""}
|
||||
{signUpForm && (
|
||||
signUpForm.title_fi
|
||||
)}
|
||||
</h1>
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user