forked from abner/for-legacy-web
Port Login UI
This commit is contained in:
13
src/pages/login/forms/FormCreate.tsx
Normal file
13
src/pages/login/forms/FormCreate.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user