@@ -9,7 +9,6 @@ const INSPECTOR_PREWARM_DELAY_MS = 350;
99
1010function InspectorContentPane ( props : {
1111 readonly children : ReactNode ;
12- readonly inspectorVisible : boolean ;
1312 readonly mounted : boolean ;
1413 readonly resetKeys : readonly [ string | null , string | null ] ;
1514 readonly visible : boolean ;
@@ -34,11 +33,7 @@ function InspectorContentPane(props: {
3433 < RenderErrorBoundary
3534 resetKeys = { props . resetKeys }
3635 renderFallback = { ( fallback ) => (
37- < RenderFailureView
38- { ...fallback }
39- announce = { props . inspectorVisible && props . visible }
40- title = "The inspector couldn't be displayed"
41- />
36+ < RenderFailureView { ...fallback } title = "The inspector couldn't be displayed" />
4237 ) }
4338 >
4439 { props . children }
@@ -50,7 +45,6 @@ function InspectorContentPane(props: {
5045export function ThreadInspectorContentStack ( props : {
5146 readonly Files : ComponentType ;
5247 readonly Git : ComponentType ;
53- readonly inspectorVisible : boolean ;
5448 readonly mode : ThreadInspectorMode ;
5549 readonly resetKeys : readonly [ string | null , string | null ] ;
5650 readonly Route ?: ComponentType ;
@@ -94,15 +88,13 @@ export function ThreadInspectorContentStack(props: {
9488 return (
9589 < View className = "flex-1" >
9690 < InspectorContentPane
97- inspectorVisible = { props . inspectorVisible }
9891 mounted = { mountedModes . has ( "files" ) || props . mode === "files" }
9992 resetKeys = { props . resetKeys }
10093 visible = { props . mode === "files" }
10194 >
10295 < Files />
10396 </ InspectorContentPane >
10497 < InspectorContentPane
105- inspectorVisible = { props . inspectorVisible }
10698 mounted = { mountedModes . has ( "git" ) || props . mode === "git" }
10799 resetKeys = { props . resetKeys }
108100 visible = { props . mode === "git" }
@@ -111,7 +103,6 @@ export function ThreadInspectorContentStack(props: {
111103 </ InspectorContentPane >
112104 { Route ? (
113105 < InspectorContentPane
114- inspectorVisible = { props . inspectorVisible }
115106 mounted = { mountedModes . has ( "route" ) || props . mode === "route" }
116107 resetKeys = { props . resetKeys }
117108 visible = { props . mode === "route" }
0 commit comments