mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-12 18:29:57 -05:00
9 lines
294 B
TypeScript
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)} />;
|
|
}
|