From 159fab41ce7ab4e872e3321595939f31c441ed46 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 28 Sep 2025 00:02:41 +0300 Subject: [PATCH] fix(website): SSR not working due to download helper --- apps/website/src/components/DownloadButton.tsx | 10 +++++----- apps/website/src/download-helper.ts | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/website/src/components/DownloadButton.tsx b/apps/website/src/components/DownloadButton.tsx index e5b6ca306..7aac0c1e5 100644 --- a/apps/website/src/components/DownloadButton.tsx +++ b/apps/website/src/components/DownloadButton.tsx @@ -8,19 +8,19 @@ interface DownloadButtonProps { big?: boolean; } -const { name, url } = getRecommendedDownload(); +const recommendedDownload = getRecommendedDownload(); export default function DownloadButton({ big }: DownloadButtonProps) { - return ( + return (recommendedDownload &&