From b7be6a45041602d812ec96414a9f7d53e7656830 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Thu, 19 Dec 2024 15:59:43 +0100 Subject: [PATCH] fix: remove Button components inside the Link components for the download buttons --- app/(root)/downloads/page.tsx | 14 ++++++++------ app/(root)/mods/page.tsx | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/app/(root)/downloads/page.tsx b/app/(root)/downloads/page.tsx index 9fff30c..ab12ab6 100644 --- a/app/(root)/downloads/page.tsx +++ b/app/(root)/downloads/page.tsx @@ -1,4 +1,4 @@ -import { Button } from "@/components/ui/button"; +import { Button, buttonVariants } from "@/components/ui/button"; import { Table, TableBody, @@ -81,11 +81,13 @@ const DownloadPage = async () => { {download.fileSize} {download.downloadLink ? ( - - + + + Download ) : ( + + + Download