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

This commit is contained in:
Julien Valverdé
2025-08-09 01:16:13 +02:00
parent ad9217999a
commit 8443da4235
6 changed files with 22 additions and 24 deletions

View File

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