From 67b57e3138d3a020ea4d39c4d7de76158c00ec19 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Sun, 29 Jun 2025 16:48:11 +1000 Subject: [PATCH] fix errors --- frontend/src/app/page.tsx | 10 +++------- .../src/app/scripts/_components/script-accordion.tsx | 3 ++- .../app/scripts/_components/script-items/buttons.tsx | 1 - 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index c9131b9ae..4c494b6ef 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -1,4 +1,4 @@ - "use client"; +"use client"; import { ArrowRightIcon, ExternalLink } from "lucide-react"; import { useEffect, useState } from "react"; import { FaGithub } from "react-icons/fa"; @@ -18,7 +18,6 @@ import { Separator } from "@/components/ui/separator"; import { CardFooter } from "@/components/ui/card"; import Particles from "@/components/ui/particles"; import { Button } from "@/components/ui/button"; -import { basePath } from "@/config/site-config"; import FAQ from "@/components/faq"; import { cn } from "@/lib/utils"; @@ -82,7 +81,6 @@ export default function Page() { className="flex items-center justify-center" > - {" "} Tteck's GitHub @@ -94,19 +92,17 @@ export default function Page() { className="flex items-center justify-center" > - {" "} Upstream - Proxmox Helper Scripts - diff --git a/frontend/src/app/scripts/_components/script-accordion.tsx b/frontend/src/app/scripts/_components/script-accordion.tsx index 38763df88..a3422f3a4 100644 --- a/frontend/src/app/scripts/_components/script-accordion.tsx +++ b/frontend/src/app/scripts/_components/script-accordion.tsx @@ -120,7 +120,8 @@ export default function ScriptAccordion({ className="mr-1 w-4 h-4 rounded-full" /> - {script.status} {script.name} + {script.status} + {script.name} {formattedBadge(script.type)} diff --git a/frontend/src/app/scripts/_components/script-items/buttons.tsx b/frontend/src/app/scripts/_components/script-items/buttons.tsx index c26bdbf59..c0e5da475 100644 --- a/frontend/src/app/scripts/_components/script-items/buttons.tsx +++ b/frontend/src/app/scripts/_components/script-items/buttons.tsx @@ -9,7 +9,6 @@ import { DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; import { Button } from "@/components/ui/button"; -import { basePath } from "@/config/site-config"; function generateInstallSourceUrl(slug: string) { const baseUrl = `https://raw.githubusercontent.com/asylumexp/Proxmox/main`;