Skip to content

Commit c67bb5a

Browse files
committed
Remove OFFSCREEN_TYPE from FIZZ
1 parent 2f230f0 commit c67bb5a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/react-server/src/ReactFizzServer.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ import {
151151
REACT_CONTEXT_TYPE,
152152
REACT_CONSUMER_TYPE,
153153
REACT_SCOPE_TYPE,
154-
REACT_OFFSCREEN_TYPE,
155154
REACT_POSTPONE_TYPE,
156155
REACT_VIEW_TRANSITION_TYPE,
157156
REACT_ACTIVITY_TYPE,
@@ -2254,8 +2253,7 @@ function renderElement(
22542253
task.keyPath = prevKeyPath;
22552254
return;
22562255
}
2257-
case REACT_ACTIVITY_TYPE:
2258-
case REACT_OFFSCREEN_TYPE: {
2256+
case REACT_ACTIVITY_TYPE: {
22592257
renderOffscreen(request, task, keyPath, props);
22602258
return;
22612259
}

0 commit comments

Comments
 (0)