Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: query for ssh keys to show servers, rather than default empty #1098

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: query for ssh keys to show servers, rather than default empty
  • Loading branch information
nktnet1 committed Jan 13, 2025
commit 32a757a2479fa7d7cf7c08c9d4fab433352a2b2a
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ export const ShowServers = () => {
const query = router.query;
const { data, refetch, isLoading } = api.server.all.useQuery();
const { mutateAsync } = api.server.remove.useMutation();
const { data: sshKeys } = {
data: [],
};
const { data: sshKeys } = api.sshKey.all.useQuery();
const { data: isCloud } = api.settings.isCloud.useQuery();
const { data: canCreateMoreServers } =
api.stripe.canCreateMoreServers.useQuery();
Expand Down
Loading