Fixing broken CI
Some checks failed
checks-impure / test (pull_request) Failing after 40s
checks / test (pull_request) Successful in 4m31s

This commit is contained in:
2023-10-23 03:08:27 +02:00
parent 112f281fd9
commit 1f70b42401
2 changed files with 1 additions and 31 deletions

View File

@@ -2,7 +2,7 @@
imports = [ imports = [
./impure/flake-module.nix ./impure/flake-module.nix
]; ];
perSystem = { pkgs, lib, self', ... }: { perSystem = { lib, self', ... }: {
checks = checks =
let let

View File

@@ -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 (
<div className="w-full">
{isLoading && <LoadingOverlay title="Initializing" subtitle="" />}
<Log
lines={(logs?.data as string)?.split("\n") || ["..."]}
title="Building..."
/>
</div>
);
};