From 3fe02dac3b201603ee03100caabdc80eeb03b37d Mon Sep 17 00:00:00 2001 From: Benjamin Klum Date: Wed, 24 Apr 2024 19:41:33 +0200 Subject: [PATCH] Website: Fix share description --- website/src/pages/share.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/pages/share.tsx b/website/src/pages/share.tsx index 74c7f09..63ae857 100644 --- a/website/src/pages/share.tsx +++ b/website/src/pages/share.tsx @@ -18,7 +18,7 @@ export function Share() { if (recipeResource.state !== "ready") { return []; } - return Object.values(recipeResource()!); + return Object.values(recipeResource()!.features); }); const installationUrl = () => createReabootInstallationUrl(payload()); const pasteExistingUrl = async () => { @@ -74,7 +74,7 @@ export function Share() {
You are sharing a recipe named "{recipe().raw.name}" with {recipe().requiredPackages.length} required packages and - {features().length} features. + {features().length} feature(s).