@@ -137,7 +137,7 @@ export function SerialConsolePage() {
137137 </ Link >
138138
139139 < div className = "gutter relative w-full shrink grow overflow-hidden" >
140- { connectionStatus = == 'connecting' && < ConnectingSkeleton /> }
140+ { connectionStatus ! == 'connecting' && < ConnectingSkeleton /> }
141141 { connectionStatus === 'error' && < ErrorSkeleton /> }
142142 { connectionStatus === 'closed' && ! canConnect && (
143143 < CannotConnect instanceState = { instanceData . runState } />
@@ -197,34 +197,19 @@ function SerialSkeleton({
197197 )
198198}
199199
200- function InstanceLink ( ) {
201- const { instance, project } = useInstanceSelector ( )
202- return (
203- < Link
204- className = "text-sans-xl text-accent-secondary hover:text-accent"
205- to = { pb . instance ( { project, instance } ) }
206- >
207- { instance }
208- </ Link >
209- )
210- }
211-
212200const ConnectingSkeleton = ( ) => (
213201 < SerialSkeleton connecting >
214202 < Spinner size = "lg" />
215203 < div className = "mt-4 text-center" >
216- < p className = "text-sans-xl" > Connecting to</ p >
217- < InstanceLink />
204+ < p className = "text-sans-xl" > Connecting to serial console</ p >
218205 </ div >
219206 </ SerialSkeleton >
220207)
221208
222209const CannotConnect = ( { instanceState } : { instanceState : InstanceState } ) => (
223210 < SerialSkeleton >
224211 < p className = "flex items-center justify-center text-sans-xl" >
225- < span >
226- Instance < InstanceLink /> is
227- </ span >
212+ < span > The instance is</ span >
228213 < InstanceStatusBadge className = "ml-1" status = { instanceState } />
229214 </ p >
230215 < p className = "mt-2 text-center text-secondary" >
0 commit comments