@@ -295,11 +295,13 @@ export function Home() {
295295 } , [ config ] ) ;
296296
297297 // Fetch PRs when queries or page changes (or when GitHub becomes ready)
298+ // Skip if anonymous and queries use @me (requires authentication)
299+ const queriesRequireAuth = searchQueries . some ( ( q ) => q . includes ( "@me" ) ) ;
298300 useEffect ( ( ) => {
299- if ( githubReady ) {
301+ if ( githubReady && ! ( isAnonymous && queriesRequireAuth ) ) {
300302 fetchPRList ( searchQueries , page , perPage ) ;
301303 }
302- } , [ fetchPRList , searchQueries , page , perPage , githubReady ] ) ;
304+ } , [ fetchPRList , searchQueries , page , perPage , githubReady , isAnonymous , queriesRequireAuth ] ) ;
303305
304306 // Reset page when config changes
305307 useEffect ( ( ) => {
@@ -405,8 +407,8 @@ export function Home() {
405407 return < HomeLoadingSkeleton /> ;
406408 }
407409
408- // Check if user needs to auth to see PRs
409- const needsAuth = isAnonymous && ! isAuthenticated ;
410+ // Check if user needs to auth to see PRs (anonymous + queries that require @me)
411+ const needsAuth = isAnonymous && ! isAuthenticated && queriesRequireAuth ;
410412
411413 return (
412414 < div className = "h-full bg-background flex flex-col overflow-hidden" >
@@ -433,7 +435,7 @@ export function Home() {
433435 </ div >
434436
435437 { /* Repo Chips with Mode Dropdowns */ }
436- < div className = "flex items-center gap-1.5 shrink-0 flex-1 min-w-0 " >
438+ < div className = "flex items-center gap-1.5 shrink-0" >
437439 { config . repos . length === 0 && (
438440 < span className = "text-xs text-muted-foreground" >
439441 Add a filter to get started →
0 commit comments