13 lines
296 B
TypeScript
13 lines
296 B
TypeScript
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 };
|