Skip to content

Commit 352c369

Browse files
committed
chore: remove stale _isVue checks
1 parent 386b093 commit 352c369

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/reactivity/src/reactive.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const isObservableType = /*#__PURE__*/ makeMap(
2929

3030
const canObserve = (value: any): boolean => {
3131
return (
32-
!value._isVue &&
3332
!value._isVNode &&
3433
isObservableType(toRawType(value)) &&
3534
!rawValues.has(value) &&

packages/runtime-core/src/errorHandling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function callWithAsyncErrorHandling(
8181
): any[] {
8282
if (isFunction(fn)) {
8383
const res = callWithErrorHandling(fn, instance, type, args)
84-
if (res && !res._isVue && isPromise(res)) {
84+
if (res && isPromise(res)) {
8585
res.catch(err => {
8686
handleError(err, instance, type)
8787
})

0 commit comments

Comments
 (0)