revite/src/pages/login/forms/FormCreate.tsx
2021-12-11 21:04:12 +00:00

9 lines
294 B
TypeScript

import { useApplicationState } from "../../../mobx/State";
import { Form } from "./Form";
export function FormCreate() {
const config = useApplicationState().config;
const client = config.createClient();
return <Form page="create" callback={(data) => client.register(data)} />;
}