Skip to content
Snippets Groups Projects
Verified Commit 4a204977 authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Replace interface with type.

parent 33ed85e5
No related branches found
No related tags found
2 merge requests!56Refined auth flow and new website pages.,!44New route type (RestrictedRoute) and better api calls.
...@@ -29,10 +29,10 @@ export const SignInForm: FC = () => { ...@@ -29,10 +29,10 @@ export const SignInForm: FC = () => {
const history = useHistory(); const history = useHistory();
const { setRole } = useContext(AuthContext); const { setRole } = useContext(AuthContext);
interface FormData { type FormData = {
username: string; username: string;
password: string; password: string;
} };
const defaultValues: FormData = { const defaultValues: FormData = {
username: '', username: '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment