We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09198c7 commit 3051895Copy full SHA for 3051895
src/components/Home/AuthForms/AuthForm.js
@@ -12,9 +12,12 @@ const AuthForm = () => {
12
};
13
14
return (
15
- <Box component={Paper} elevetion={3} padding={3}>
16
- {activeSignUpForm && <SignUpForm toggleActiveForm={toggleActiveForm} />}
17
- {!activeSignUpForm && <LoginForm toggleActiveForm={toggleActiveForm} />}
+ <Box component={Paper} elevation={3} padding={3}>
+ {activeSignUpForm ? (
+ <SignUpForm toggleActiveForm={toggleActiveForm} />
18
+ ) : (
19
+ <LoginForm toggleActiveForm={toggleActiveForm} />
20
+ )}
21
</Box>
22
);
23
0 commit comments