Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Cast value to any
Because of the `$$typeof` check above, we know that this is a react
element.
  • Loading branch information
unstubbable committed Mar 30, 2024
commit 32c5b0b9d10fe57b2b511c5e958ec5f51f11ff5b
2 changes: 1 addition & 1 deletion packages/react-server/src/ReactFlightServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ function renderModelDestructive(
writtenObjects.set(value, SEEN_BUT_NOT_YET_OUTLINED);
// The element's props are marked as "never outlined" so that they are inlined into
// the same row as the element itself.
writtenObjects.set(value.props, NEVER_OUTLINED);
writtenObjects.set((value: any).props, NEVER_OUTLINED);
}

const element: React$Element<any> = (value: any);
Expand Down