Related - https://github.com/facebook/react/pull/30899.
Looks like this was missed. We actually do this when we record errors
and warnings before sending them via Bridge:
e4953922a9/packages/react-devtools-shared/src/backend/fiber/renderer.js (L2169-L2173)
So, what is happening in the end, errors or warnings are displayed in
the Tree, but when user clicks on the component, nothing is shown,
because `fiberToComponentLogsMap` has only `alternate` as a key.