Skip to content

Commit

Permalink
Fix hanging prop.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Jan 28, 2025
1 parent e9a90cd commit 6f9c3b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pages/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,6 @@ const SearchPage: NextPage = () => {
});
}

function handleViewResultsCallback() {
setActiveTab("results");
}

return (
<>
{/* Google Structured Data via JSON-LD */}
Expand Down Expand Up @@ -231,7 +227,7 @@ const SearchPage: NextPage = () => {
onValueChange={(value) => setActiveTab(value as ActiveTab)}
>
<Tabs.Content value="stream">
<Chat viewResultsCallback={handleViewResultsCallback} />
<Chat />
</Tabs.Content>

<Tabs.Content value="results">
Expand Down

0 comments on commit 6f9c3b4

Please sign in to comment.