Skip to content

Commit

Permalink
disabled signups again
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurikam2003 committed Oct 1, 2024
1 parent 956269c commit f105fdf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion client/src/pages/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const HomePageHeader = () => {

const HomeHeaderButton = () => {
const loggedIn = useSelector(loggedInSelector);
const [isRegistrationOpen, setIsRegistrationOpen] = useState(true);
const [isRegistrationOpen, setIsRegistrationOpen] = useState(false);

return (
<>
Expand Down
32 changes: 16 additions & 16 deletions client/src/pages/SignUp/SignUp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const PageSignUp = () => {
) : (
<></>
)}
{/* <div
<div
style={{
color: 'var(--text-dynamic)',
textAlign: 'center',
Expand All @@ -209,25 +209,25 @@ const PageSignUp = () => {
}}
>
<h2>F!rosh 2T4 is over! Check back next year.</h2>
</div> */}
{/* <div
</div>
<div
className="sign-up-button"
onMouseOver={() => {
checkErrors(true);
}}
> */}
<Button
label="Create Account"
style={{ margin: 15 }}
isDisabled={anyErrors}
onClick={async () => {
const anyErrors = checkErrors(true);
if (anyErrors === false) {
submitForm();
}
}}
/>
{/* </div> */}
>
<Button
label="Create Account"
style={{ margin: 15 }}
isDisabled={anyErrors}
onClick={async () => {
const anyErrors = checkErrors(true);
if (anyErrors === false) {
submitForm();
}
}}
/>
</div>
</div>
</div>
<div
Expand Down

0 comments on commit f105fdf

Please sign in to comment.