@@ -115,24 +115,9 @@ export function RemoteSession({ host, password, protocol, onStatusChange, onBrid
115115 } ;
116116 } , [ connect ] ) ;
117117
118- // Debug overlay — remove after debugging mobile blank page
119- const debugBanner = (
120- < div style = { {
121- position : 'fixed' , bottom : 0 , left : 0 , right : 0 , zIndex : 99999 ,
122- background : '#1a1a2e' , color : '#0f0' , fontSize : '11px' , padding : '6px 10px' ,
123- fontFamily : 'monospace' , borderTop : '1px solid #333' , maxHeight : '30vh' , overflow : 'auto' ,
124- } } >
125- < div > status: < b > { state . status } </ b > </ div >
126- < div > host: { host } | protocol: { protocol ?? 'auto' } </ div >
127- { state . status === 'error' && < div style = { { color : '#f44' } } > error: { state . message } </ div > }
128- < div > bridge connected: { String ( bridgeRef . current ?. isConnected ( ) ?? false ) } </ div >
129- </ div >
130- ) ;
131-
132118 const content = state . status === 'connected' ? (
133119 < div className = "remote-session" >
134120 < WebviewApp />
135- { debugBanner }
136121 </ div >
137122 ) : state . status === 'error' ? (
138123 < div className = "remote-session-status" >
@@ -143,15 +128,13 @@ export function RemoteSession({ host, password, protocol, onStatusChange, onBrid
143128 < button className = "remote-session-retry" onClick = { connect } >
144129 Retry
145130 </ button >
146- { debugBanner }
147131 </ div >
148132 ) : (
149133 < div className = "remote-session-status" >
150134 < div className = "remote-session-connecting" >
151135 < div className = "remote-session-spinner" />
152136 < span > Connecting to { host } …</ span >
153137 </ div >
154- { debugBanner }
155138 </ div >
156139 ) ;
157140
0 commit comments