Removed app structure from the core

This commit is contained in:
2026-01-03 19:07:54 +01:00
parent 7e5289ae22
commit 6da3c1a0be
6 changed files with 4 additions and 335 deletions
+2 -2
View File
@@ -15,9 +15,9 @@ import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { getLiveNodes } from "@/lib/dockship/node";
import { Combobox } from "../ui/combobox";
import { getApplications } from "@/core/application";
import { deployApp } from "@/lib/dockship/deploy";
import { useAsync } from "@/hooks/use-async";
import { Application } from "@/lib/types";
export default function DeployAppDialog({
defaultApp,
@@ -27,7 +27,7 @@ export default function DeployAppDialog({
children: ReactNode;
}) {
const { value: nodes } = useAsync([], getLiveNodes);
const { value: applications } = useAsync([], getApplications);
const { value: applications } = useAsync<Application[]>([], async () => []);
const [name, setName] = useState("");
const [app, setApp] = useState(defaultApp || "");
const [node, setNode] = useState("");