Skip to content

Commit 6e24eda

Browse files
authored
Only mark force when it's a real error
1 parent dec937f commit 6e24eda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diff/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export function diff(
314314
} else {
315315
newVNode._dom = oldVNode._dom;
316316
newVNode._children = oldVNode._children;
317-
markAsForce(newVNode);
317+
if (!e.then) markAsForce(newVNode);
318318
}
319319
options._catchError(e, newVNode, oldVNode);
320320
}

0 commit comments

Comments
 (0)