style: auto format whole project

This commit is contained in:
Ali BARIN
2022-11-05 23:57:33 +01:00
parent e338770e57
commit 475f24f661
199 changed files with 2421 additions and 1839 deletions

View File

@@ -11,7 +11,6 @@ import { LOGIN } from 'graphql/mutations/login';
import Form from 'components/Form';
import TextField from 'components/TextField';
function renderFields(props: { loading: boolean }) {
const { loading = false } = props;
@@ -52,7 +51,7 @@ function renderFields(props: { loading: boolean }) {
</LoadingButton>
</>
);
}
};
}
function LoginForm() {
@@ -69,7 +68,7 @@ function LoginForm() {
const handleSubmit = async (values: any) => {
const { data } = await login({
variables: {
input: values
input: values,
},
});
@@ -85,14 +84,20 @@ function LoginForm() {
<Typography
variant="h3"
align="center"
sx={{ borderBottom: '1px solid', borderColor: (theme) => theme.palette.text.disabled, pb: 2, mb: 2 }}
gutterBottom>
sx={{
borderBottom: '1px solid',
borderColor: (theme) => theme.palette.text.disabled,
pb: 2,
mb: 2,
}}
gutterBottom
>
Login
</Typography>
<Form onSubmit={handleSubmit} render={render} />
</Paper>
);
};
}
export default LoginForm;