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