From e0364bb90b2ced4515f5df295430421d6355b6ee Mon Sep 17 00:00:00 2001 From: April Hall Date: Fri, 7 Feb 2025 11:49:37 -0500 Subject: [PATCH] fix: Convert createchannel action into a named action --- src/lib/components/channelDialog.svelte | 2 +- src/routes/+page.server.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/channelDialog.svelte b/src/lib/components/channelDialog.svelte index d441dcd..bebe7a2 100644 --- a/src/lib/components/channelDialog.svelte +++ b/src/lib/components/channelDialog.svelte @@ -24,7 +24,7 @@ Create Channel -
+ { + newchannel: async ({ request }) => { const form = await superValidate(request, zod(newChannelSchema)); const channel = form.data.channelName;