Fix example
All checks were successful
Lint / lint (push) Successful in 12s

This commit is contained in:
Julien Valverdé
2025-10-19 07:16:39 +02:00
parent 6bdf2a4d87
commit 1af839f036

View File

@@ -39,7 +39,7 @@ class RegisterForm extends Effect.Service<RegisterForm>()("RegisterForm", {
), ),
initialEncodedValue: { email: "", password: "", birth: Option.none() }, initialEncodedValue: { email: "", password: "", birth: Option.none() },
submit: v => Effect.sleep("500 millis").pipe( submitFn: v => Effect.sleep("500 millis").pipe(
Effect.andThen(Console.log(v)), Effect.andThen(Console.log(v)),
Effect.andThen(Effect.sync(() => alert("Done!"))), Effect.andThen(Effect.sync(() => alert("Done!"))),
), ),