Example cleanup
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-08-07 04:58:56 +02:00
parent 53bceb3a8a
commit d38a5a4afd
5 changed files with 16 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ export type TodoProps = (
| { readonly _tag: "edit", readonly index: number }
)
export class Todo extends Component.make(function* Todo(props: TodoProps) {
export class Todo extends Component.make(Effect.fnUntraced(function* Todo(props: TodoProps) {
const runtime = yield* Effect.runtime()
const state = yield* TodosState
@@ -122,6 +122,6 @@ export class Todo extends Component.make(function* Todo(props: TodoProps) {
}
</Flex>
)
}).pipe(
})).pipe(
Memoized.memo
) {}