mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-12 18:29:57 -05:00
14 lines
345 B
TypeScript
14 lines
345 B
TypeScript
|
import { RevoltClient } from "../../../context/revoltjs/RevoltClient";
|
||
|
import { Form } from "./Form";
|
||
|
|
||
|
export function FormCreate() {
|
||
|
return (
|
||
|
<Form
|
||
|
page="create"
|
||
|
callback={async data => {
|
||
|
await RevoltClient.register(process.env.API_SERVER as string, data);
|
||
|
}}
|
||
|
/>
|
||
|
);
|
||
|
}
|