import { IconSearch } from "@tabler/icons-react"; import Alert from "react-bootstrap/Alert"; import { Button, LoadingPage } from "src/components"; import { useProxyHosts } from "src/hooks"; import { intl } from "src/locale"; import Table from "./Table"; export default function TableWrapper() { const { isFetching, isLoading, isError, error, data } = useProxyHosts(["owner", "access_list", "certificate"]); if (isLoading) { return ; } if (isError) { return {error?.message || "Unknown error"}; } return (

{intl.formatMessage({ id: "proxy-hosts.title" })}

); }