Skip to content
Snippets Groups Projects

Sign up/Log in form nest into AuthUser

Merged Defendi Alberto requested to merge SignUp into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -6,7 +6,7 @@ import { useStyles } from 'components/AuthUser/SignUpForm/useStyles';
@@ -6,7 +6,7 @@ import { useStyles } from 'components/AuthUser/SignUpForm/useStyles';
import axios from 'axios';
import axios from 'axios';
export const SignUpForm: FC = () => {
export const SignUpForm: FC = () => {
interface FormData {
type FormData = {
firstName: string;
firstName: string;
lastName: string;
lastName: string;
phoneNumber: number;
phoneNumber: number;
@@ -14,7 +14,7 @@ export const SignUpForm: FC = () => {
@@ -14,7 +14,7 @@ export const SignUpForm: FC = () => {
cardNumber: number;
cardNumber: number;
email: string;
email: string;
password: string;
password: string;
}
};
const { control, errors, handleSubmit } = useForm<FormData>();
const { control, errors, handleSubmit } = useForm<FormData>();
Loading