Todo work
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-07-06 18:40:55 +02:00
parent 875a65c226
commit ae70c7c98a
2 changed files with 4 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ export const Todo = Component.make(function* Todo(props: TodoProps) {
), [props._tag, props.index])
const contentRef = React.useMemo(() => SubscriptionSubRef.makeFromPath(ref, ["content"]), [ref])
const [todo] = yield* Hook.useSubscribeRefs(ref)
const [todo, todosSize] = yield* Hook.useSubscribeRefs(ref, state.sizeRef)
return (
<Flex direction="column" align="stretch" gap="2">