chore: remove unnecessary wrap
This commit is contained in:
parent
caccec3f78
commit
86a4f2a6b3
@ -311,9 +311,7 @@ export const setRef = (
|
||||
if (isString(oldRef)) {
|
||||
refs[oldRef] = null
|
||||
if (hasOwn(setupState, oldRef)) {
|
||||
queuePostRenderEffect(() => {
|
||||
setupState[oldRef] = null
|
||||
}, parentSuspense)
|
||||
}
|
||||
} else if (isRef(oldRef)) {
|
||||
oldRef.value = null
|
||||
|
Loading…
Reference in New Issue
Block a user