-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Remove prettier, use neostandard formatting * Update dependencies * npm install * Remove references to format/format:check
- Loading branch information
Showing
112 changed files
with
915 additions
and
1,812 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ const loginFormProps = { | |
* Login page component. | ||
* @param {PropTypes.InferProps<typeof loginFormProps>} props | ||
*/ | ||
export function LoginForm({ | ||
export function LoginForm ({ | ||
email, | ||
password, | ||
onEmailChange, | ||
|
@@ -41,47 +41,47 @@ export function LoginForm({ | |
* | ||
* @param {Event} event | ||
*/ | ||
function onSubmit(event) { | ||
function onSubmit (event) { | ||
event.preventDefault(); | ||
onLogin(); | ||
} | ||
|
||
return ( | ||
<> | ||
<form onSubmit={onSubmit}> | ||
<Container size="25rem"> | ||
<Container size='25rem'> | ||
<TextInput | ||
className={classes.email} | ||
type="email" | ||
label="Email" | ||
placeholder="[email protected]" | ||
type='email' | ||
label='Email' | ||
placeholder='[email protected]' | ||
value={email} | ||
onChange={onEmailChange} | ||
error={emailError} | ||
/> | ||
<PasswordInput | ||
className={classes.password} | ||
label="Password" | ||
placeholder="password" | ||
label='Password' | ||
placeholder='password' | ||
value={password} | ||
onChange={onPasswordChange} | ||
visible={visible} | ||
onVisibilityChange={toggle} | ||
error={passwordError} | ||
/> | ||
</Container> | ||
<Container size="25rem"> | ||
<Container size='25rem'> | ||
<Button | ||
disabled={!email.length || !password.length} | ||
className={classes.loginBtn} | ||
variant="filled" | ||
variant='filled' | ||
fullWidth | ||
type="submit" | ||
type='submit' | ||
> | ||
Log in | ||
</Button> | ||
<div className={classes.anchor}> | ||
<Anchor component={Link} to="/password/forgot"> | ||
<Anchor component={Link} to='/password/forgot'> | ||
Forgot password | ||
</Anchor> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.