diff --git a/src/components/AuthUser/SignInForm/SignInForm.tsx b/src/components/AuthUser/SignInForm/SignInForm.tsx index d80391a8bcd66bdb457a62f61ac680aa2e2f3af0..6ca0569dece964220df1a78ed6bad47d0cb685f4 100644 --- a/src/components/AuthUser/SignInForm/SignInForm.tsx +++ b/src/components/AuthUser/SignInForm/SignInForm.tsx @@ -29,10 +29,10 @@ export const SignInForm: FC = () => { const history = useHistory(); const { setRole } = useContext(AuthContext); - interface FormData { + type FormData = { username: string; password: string; - } + }; const defaultValues: FormData = { username: '',