yari
yari copied to clipboard
fix(search): hide "No query, no results" on server
Summary
Fixes #4006.
Problem
When opening the full-text search, a "No query, no results" message appears shortly, because the query is empty during server-side rendering.
Solution
Hide the message during server-side rendering.
How did you test this change?
Ran yarn dev and opened http://localhost:3000/en-US/search/?q=html with the internet connection slowed down via DevTools.