Skip to content

Commit 3051895

Browse files
angelocordonlpatmo
authored andcommitted
Fox up typo error in AuthForm component
1 parent 09198c7 commit 3051895

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/components/Home/AuthForms/AuthForm.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ const AuthForm = () => {
1212
};
1313

1414
return (
15-
<Box component={Paper} elevetion={3} padding={3}>
16-
{activeSignUpForm && <SignUpForm toggleActiveForm={toggleActiveForm} />}
17-
{!activeSignUpForm && <LoginForm toggleActiveForm={toggleActiveForm} />}
15+
<Box component={Paper} elevation={3} padding={3}>
16+
{activeSignUpForm ? (
17+
<SignUpForm toggleActiveForm={toggleActiveForm} />
18+
) : (
19+
<LoginForm toggleActiveForm={toggleActiveForm} />
20+
)}
1821
</Box>
1922
);
2023
};

0 commit comments

Comments
 (0)