Fix
Lint / lint (push) Failing after 40s

This commit is contained in:
Julien Valverdé
2026-07-20 03:14:40 +02:00
parent c804262e5f
commit fb4fd633dc
+12 -15
View File
@@ -26,21 +26,18 @@ const AppStateSchema = Schema.Struct({
class AppState extends Context.Service<AppState, {
readonly lens: Lens.Lens<typeof AppStateSchema.Type>
}>()("AppState") {
static readonly layer = Layer.effect(
AppState,
Effect.gen(function*() {
return {
lens: Lens.fromSubscriptionRef(
yield* SubscriptionRef.make<typeof AppStateSchema.Type>({
currentUser: {
email: "",
password: "",
},
})
),
}
}),
)
static readonly layer = Layer.effect(AppState, Effect.gen(function*() {
return {
lens: Lens.fromSubscriptionRef(
yield* SubscriptionRef.make<typeof AppStateSchema.Type>({
currentUser: {
email: "",
password: "",
},
})
),
}
}))
}