Skip to content

Commit

Permalink
chore(reactive): reduce code
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Nov 30, 2021
1 parent 3f4afef commit af700c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/reactive/src/annotations/computed.ts
Expand Up @@ -68,14 +68,12 @@ export const computed: IComputed = createAnnotation(
reaction._name = 'ComputedReaction'
reaction._scheduler = () => {
reaction._dirty = true
batchStart()
runReactionsFromTargetKey({
target: context,
key: property,
value: store.value,
type: 'set',
})
batchEnd()
}
reaction._isComputed = true
reaction._dirty = true
Expand Down

0 comments on commit af700c6

Please sign in to comment.