Skip to content

Commit

Permalink
ah we need it
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Nov 13, 2023
1 parent 5bce283 commit b3febec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vanilla.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ const buildProxyFunction = (
readonly [ProxyState, RemoveListener?]
>()
const addPropListener = (prop: string | symbol, propValue: unknown) => {
const propProxyState = proxyStateMap.get(propValue as object)
const propProxyState =
!refSet.has(propValue as object) &&
proxyStateMap.get(propValue as object)
if (propProxyState) {
if (
import.meta.env?.MODE !== 'production' &&
Expand Down

0 comments on commit b3febec

Please sign in to comment.