Remove Dead Code in WWW JS

Differential Revision: D77531947

Pull Request resolved: https://github.com/facebook/react/pull/33672
This commit is contained in:
Facebook Community Bot
2025-06-30 08:24:29 -07:00
committed by GitHub
parent 1e0d12b6f2
commit 65c4decb56

View File

@@ -4661,10 +4661,6 @@ function abortTask(task: Task, request: Request, error: mixed): void {
if (node !== null && typeof node === 'object') {
// Push a fake component stack frame that represents the await.
pushHaltedAwaitOnComponentStack(task, node._debugInfo);
if (task.thenableState !== null) {
// TODO: If we were stalled inside use() of a Client Component then we should
// rerender to get the stack trace from the use() call.
}
}
}