refactor(multi-server): show all the servers

This commit is contained in:
Mauricio Siu
2024-09-17 00:51:49 -06:00
parent 4c3bc8efdc
commit f001a50278

View File

@@ -26,7 +26,7 @@ import { TerminalModal } from "../web-server/terminal-modal";
import { AddServer } from "./add-server";
import { SetupServer } from "./setup-server";
export const ShowServers = () => {
const { data, refetch } = api.server.withSSHKey.useQuery();
const { data, refetch } = api.server.all.useQuery();
const { mutateAsync } = api.server.remove.useMutation();
const { data: sshKeys } = api.sshKey.all.useQuery();