Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 11, 2023
1 parent f3a5d46 commit d034363
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/features/account/components/update.form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const UpdateForm = ({ user }: UpdateFormProps): JSX.Element => {
}, []);

const onSubmit = useCallback(
(values: typeof form[`values`]) => {
(values: (typeof form)[`values`]) => {
resetError();

const username = getUpdatedValue(
Expand Down
2 changes: 1 addition & 1 deletion src/features/auth/components/auth-form/auth.form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const AuthForm = ({ formType, toggleFormType }: AuthFormProps): JSX.Element => {
);

const onSubmit = useCallback(
(values: typeof form[`values`]) => {
(values: (typeof form)[`values`]) => {
resetError();
if (formType === `login`) {
onLogin(values);
Expand Down
14 changes: 12 additions & 2 deletions src/styles/globals.style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@ html,
body {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
font-family:
-apple-system,
BlinkMacSystemFont,
Segoe UI,
Roboto,
Oxygen,
Ubuntu,
Cantarell,
Fira Sans,
Droid Sans,
Helvetica Neue,
sans-serif;
}

a {
Expand Down

0 comments on commit d034363

Please sign in to comment.