We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 013caec commit e23f006Copy full SHA for e23f006
data-browser/src/routes/SearchRoute.tsx
@@ -65,7 +65,11 @@ export function Search(): JSX.Element {
65
{error && <ErrorLook>{error.message}</ErrorLook>}
66
{query.length !== 0 ? (
67
<>
68
- {results.length == 0 && <p>No Results found for {query}.</p>}
+ {results.length == 0 && loading ? (
69
+ <p>Loading...</p>
70
+ ) : (
71
+ <p>No Results found for {query}.</p>
72
+ )}
73
{results.map((subject, index) => (
74
<ResourceCard
75
initialInView={index < 5}
0 commit comments