From 1f70b42401f45dad433e281ea98147fe48a829e2 Mon Sep 17 00:00:00 2001 From: Luis Date: Mon, 23 Oct 2023 03:08:27 +0200 Subject: [PATCH] Fixing broken CI --- checks/flake-module.nix | 2 +- pkgs/ui/src/components/join/vmBuildLogs.tsx | 30 --------------------- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 pkgs/ui/src/components/join/vmBuildLogs.tsx diff --git a/checks/flake-module.nix b/checks/flake-module.nix index 3f653f4..df79b23 100644 --- a/checks/flake-module.nix +++ b/checks/flake-module.nix @@ -2,7 +2,7 @@ imports = [ ./impure/flake-module.nix ]; - perSystem = { pkgs, lib, self', ... }: { + perSystem = { lib, self', ... }: { checks = let diff --git a/pkgs/ui/src/components/join/vmBuildLogs.tsx b/pkgs/ui/src/components/join/vmBuildLogs.tsx deleted file mode 100644 index bad19cc..0000000 --- a/pkgs/ui/src/components/join/vmBuildLogs.tsx +++ /dev/null @@ -1,30 +0,0 @@ -"use client"; -import { useGetVmLogs } from "@/api/default/default"; -import { Log } from "./log"; -import { LoadingOverlay } from "./loadingOverlay"; - -interface VmBuildLogsProps { - vmUuid: string; -} -export const VmBuildLogs = (props: VmBuildLogsProps) => { - const { vmUuid } = props; - - const { data: logs, isLoading } = useGetVmLogs(vmUuid as string, { - swr: { - enabled: vmUuid !== null, - }, - axios: { - responseType: "stream", - }, - }); - - return ( -
- {isLoading && } - -
- ); -};