Skip to content

Commit

Permalink
feat(reactivity): remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-ovo committed Apr 27, 2024
1 parent 41df250 commit 5d04fde
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/reactivity/src/computed.ts
Expand Up @@ -2,7 +2,6 @@ import { type DebuggerOptions, ReactiveEffect } from './effect'
import { type Ref, trackRefValue, triggerRefValue } from './ref'
import { NOOP, hasChanged, isFunction } from '@vue/shared'
import { toRaw } from './reactive'
import type { Dep } from './dep'
import { DirtyLevels, ReactiveFlags } from './constants'
import { warn } from './warning'

Expand Down Expand Up @@ -32,8 +31,6 @@ export const COMPUTED_SIDE_EFFECT_WARN =
` Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free`

export class ComputedRefImpl<T> {
public dep?: Dep = undefined

private _value!: T
public readonly effect: ReactiveEffect<T>

Expand Down

0 comments on commit 5d04fde

Please sign in to comment.