diff --git a/src/components/search/form/form.js b/src/components/search/form/form.js
index 7ec79e65..d433d7ca 100644
--- a/src/components/search/form/form.js
+++ b/src/components/search/form/form.js
@@ -241,7 +241,7 @@ export const SearchForm = ({ type=undefined, ...props }) => {
)
}
- { totalConcepts ? (
+ {
{
/>
- ) : null }
+ }
)
}
diff --git a/src/components/search/results/results-header/index.js b/src/components/search/results/results-header/index.js
index 2b8a97f3..c5fe8704 100644
--- a/src/components/search/results/results-header/index.js
+++ b/src/components/search/results/results-header/index.js
@@ -46,19 +46,19 @@ export const ResultsHeader = ({ variables=false, type=FULL, ...props }) => {
{type === FULL && (
-
- { variables ? (
- `${ variableStudyResultCount } studies and ${ totalVariableResults } variables`
- ) : (
- `${ totalConcepts } concepts`
+
+ { variables ? (
+ `${ variableStudyResultCount } studies and ${ totalVariableResults } variables`
+ ) : (
+ `${ totalConcepts } concepts`
+ ) }
+
+ { !variables && (
+
+ {/* Just want anchor styling */}
+
+
) }
-
- { !variables && (
-
- {/* Just want anchor styling */}
-
-
- ) }
)}
{
{ isLoadingVariableResults ? (
) : (
-
- { error.message ? (
- { error.message }
- ) : query && totalVariableResults === 0 ? (
- No results were found for "{ query }"
- } />
- // No results found
- ) : null }
- {totalVariableResults > 0 && }
-
-
+ query && (
+
+ { error.message ? (
+ { error.message }
+ ) : !isLoadingVariableResults && totalVariableResults === 0 ? (
+ No results were found for "{ query }"
+ } />
+ // No results found
+ ) : null }
+ {totalVariableResults > 0 && }
+
+
+ )
) }
)