Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DanZfsd committed Nov 9, 2024
1 parent 17791cc commit 8e37362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,7 @@ const ResponsiveAuthContainer = ({
display="inline-flex"
flexDirection="column"
gap={{ base: "1.12rem", md: "1rem" }}
width={{ md: "16rem" }}
sx={{
"@media (orientation: portrait)": {
width: {
md: "16rem",
},
},
}}
width={{ md: "16rem" }}

Check warning on line 25 in frontend/src/components/common/responsive/ResponsiveAuthContainer.tsx

View workflow job for this annotation

GitHub Actions / run-lint

Delete `·`
justifyContent="center"
>
{children}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/pages/CreatePasswordPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ const CreatePasswordPage = (): React.ReactElement => {
let hasErrors: boolean = false;
if (password.length < 8) {
hasErrors = true;
setPasswordError("Password must be at least 8 characters long.");
setPasswordError("Password must be at least 8 characters.");
}
if (confirmPassword && password !== confirmPassword) {
hasErrors = true;
setConfirmPasswordError("Passwords do not match.");
}
if (confirmPassword.length < 8) {
hasErrors = true;
setConfirmPasswordError("Password must be at least 8 characters long.");
setConfirmPasswordError("Password must be at least 8 characters.");
}
return hasErrors;
};
Expand Down

0 comments on commit 8e37362

Please sign in to comment.