From bc1a010943cd264389b4658bd4b4cf5298d4ea84 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Sun, 31 Aug 2025 22:36:44 +0800 Subject: [PATCH] fix incorrect display of stack config --- src/routes/dashboard/stack/+page.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/dashboard/stack/+page.svelte b/src/routes/dashboard/stack/+page.svelte index c5db5a5..7342bd4 100644 --- a/src/routes/dashboard/stack/+page.svelte +++ b/src/routes/dashboard/stack/+page.svelte @@ -2,10 +2,10 @@ import { Button } from '$lib/components/ui/button' import { Input } from '$lib/components/ui/input' - let { config } = $props() + let { data } = $props() - let stackRate = $state(config?.stackRate || 0) - let threshhold = $state(config?.threshold || 0) + let stackRate = $state(data.config?.stackRate || 0) + let threshhold = $state(data.config?.threshhold || 0)