Skip to content

Commit 77412f9

Browse files
ericyangpanclaude
andcommitted
fix: remove autoFocus prop from SearchInput in search page
Remove autoFocus prop usage that was causing TypeScript errors after the prop was removed for accessibility compliance. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent adef7e2 commit 77412f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/[locale]/search/page.client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default function SearchPageClient({ locale, initialQuery }: Props) {
6868

6969
{/* Search Input */}
7070
<div className="mb-[var(--spacing-md)] max-w-xl">
71-
<SearchInput initialQuery={query} onSearch={handleSearch} autoFocus />
71+
<SearchInput initialQuery={query} onSearch={handleSearch} />
7272
</div>
7373

7474
{/* Results Section */}

0 commit comments

Comments
 (0)