Bug fix: No matching hosts message (#3652)

This commit is contained in:
RachelElysia
2022-01-12 15:01:47 -05:00
committed by GitHub
parent 4bed4757fb
commit 09efce8ea8
2 changed files with 6 additions and 1 deletions
@@ -0,0 +1 @@
* Fix empty host message when no hosts match search criteria
@@ -5,7 +5,11 @@ import React from "react";
const baseClass = "empty-hosts";
const EmptyHosts = (pageIndex: number): JSX.Element => {
interface IEmptyHostsProps {
pageIndex: number;
}
const EmptyHosts = ({ pageIndex }: IEmptyHostsProps): JSX.Element => {
return (
<div className={`${baseClass}`}>
<div className={`${baseClass}__inner`}>