From c6c25b16936804fa0bf1f4011d820fe0a674659c Mon Sep 17 00:00:00 2001 From: Jan <72730682+JanTrichter@users.noreply.github.com> Date: Sat, 2 Nov 2024 00:50:13 +0100 Subject: [PATCH] docs: fix card select showing [object object] (#1425) --- .../docs/src/lib/registry/default/example/card-with-form.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/docs/src/lib/registry/default/example/card-with-form.svelte b/sites/docs/src/lib/registry/default/example/card-with-form.svelte index 0b53a4ce1..79aaf9d1d 100644 --- a/sites/docs/src/lib/registry/default/example/card-with-form.svelte +++ b/sites/docs/src/lib/registry/default/example/card-with-form.svelte @@ -27,7 +27,7 @@ let framework = $state(""); const selectedFramework = $derived( - frameworks.find((f) => f.value === framework) ?? "Select a framework" + frameworks.find((f) => f.value === framework)?.label ?? "Select a framework" );