@@ -20,8 +20,8 @@ class RegisterForm extends Effect.Service<RegisterForm>()("RegisterForm", {
|
||||
|
||||
class RegisterPage extends Component.makeUntraced(function* RegisterPage() {
|
||||
const form = yield* RegisterForm
|
||||
const emailInput = yield* Form.useInput(form, { path: ["email"] })
|
||||
const passwordInput = yield* Form.useInput(form, { path: ["password"] })
|
||||
const emailInput = yield* Form.useInput(form, ["email"])
|
||||
const passwordInput = yield* Form.useInput(form, ["password"])
|
||||
|
||||
yield* useFork(() => Stream.runForEach(form.valueRef.changes, Console.log), [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user