Skip to content

Commit

Permalink
fix(search): hide "No query, no results" on server (#11359)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Jul 16, 2024
1 parent 24020fc commit 630fc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/site-search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function SiteSearch() {
{page && page !== "1" && `(page ${page})`}
</h1>
) : (
<h1>No query, no results.</h1>
!isServer && <h1>No query, no results.</h1>
)}

{!isServer && (
Expand Down

0 comments on commit 630fc42

Please sign in to comment.