@@ -31,7 +31,7 @@ const RegisterRouteComponent = Component.make("RegisterRouteView")(function*() {
|
||||
initialEncodedValue: { email: "", password: "" },
|
||||
f: ([value]) => Effect.log(`Registered ${value.email}`),
|
||||
}).pipe(
|
||||
MutationForm.run,
|
||||
MutationForm.thenRun,
|
||||
)
|
||||
|
||||
const emailField = Form.focusObjectOn(form, "email")
|
||||
|
||||
@@ -73,7 +73,7 @@ const UserProfileEditorView = Component.make("UserProfileEditorView")(function*(
|
||||
password: "",
|
||||
},
|
||||
}).pipe(
|
||||
LensForm.run,
|
||||
LensForm.thenRun,
|
||||
)
|
||||
|
||||
const emailField = Form.focusObjectOn(form, "email")
|
||||
|
||||
@@ -46,7 +46,7 @@ const QueryRouteComponent = Component.make("QueryRouteView")(function*() {
|
||||
),
|
||||
staleTime: "10 seconds",
|
||||
}).pipe(
|
||||
Query.run,
|
||||
Query.thenRun,
|
||||
)
|
||||
|
||||
const mutation = yield* Mutation.make({
|
||||
|
||||
Reference in New Issue
Block a user