{p.status === "loading" ?
Searching...
: null}
{p.status === "error" ?
Search is unavailable. Try again.
: null}
{p.status === "ready" && p.results.length === 0 ? (
@@ -72,7 +73,7 @@ export function ExpertSearchView(p: ExpertSearchViewProps) {
) : null}
-
+
);
}
@@ -84,11 +85,9 @@ export function ExpertSearch() {
const [categories, setCategories] = useState