@@ -233,9 +233,11 @@ function LimitReachedOutOfHours() {
233233
234234function RepositoryNotFoundView ( p : { error : StartWorkspaceError } ) {
235235 const [ statusMessage , setStatusMessage ] = useState < React . ReactNode > ( ) ;
236+ const { host, owner, repoName, userIsOwner, userScopes, lastUpdate } = p . error . data ;
237+ const repoFullName = ( owner && repoName ) ? `${ owner } /${ repoName } ` : '' ;
238+
236239 useEffect ( ( ) => {
237240 ( async ( ) => {
238- const { host, owner, repoName, userIsOwner, userScopes, lastUpdate } = p . error . data ;
239241 console . log ( 'host' , host ) ;
240242 console . log ( 'owner' , owner ) ;
241243 console . log ( 'repoName' , repoName ) ;
@@ -248,8 +250,6 @@ function RepositoryNotFoundView(p: { error: StartWorkspaceError }) {
248250 return ;
249251 }
250252
251- const repoFullName = ( owner && repoName ) ? `${ owner } /${ repoName } ` : '' ;
252-
253253 // TODO: this should be aware of already granted permissions
254254 const missingScope = authProvider . host === 'github.com' ? 'repo' : 'read_repository' ;
255255 const authorizeURL = gitpodHostUrl . withApi ( {
@@ -297,9 +297,14 @@ function RepositoryNotFoundView(p: { error: StartWorkspaceError }) {
297297 } ) ( ) ;
298298 } , [ ] ) ;
299299
300- return < StartPage phase = { StartPhase . Checking } error = { p . error } >
301- { statusMessage }
302- </ StartPage > ;
300+ return (
301+ < StartPage phase = { StartPhase . Checking } error = { p . error } >
302+ < p className = "text-base text-gitpod-red mt-2" >
303+ < code > { repoFullName } </ code >
304+ </ p >
305+ { statusMessage }
306+ </ StartPage >
307+ ) ;
303308}
304309
305310interface RunningPrebuildViewProps {
0 commit comments