This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user