refactor: enforce frontend view model boundaries
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import type { FC } from "react";
|
||||
|
||||
import { AuthForm } from "../AuthForm/AuthForm";
|
||||
import { useRegisterFormVm } from "./RegisterForm.vm";
|
||||
|
||||
const RegisterForm: FC = () => {
|
||||
const { onSubmit } = useRegisterFormVm();
|
||||
|
||||
return <AuthForm onSubmit={onSubmit} register />;
|
||||
};
|
||||
|
||||
export { RegisterForm };
|
||||
Reference in New Issue
Block a user