From a9b2ec321e49995ab4022fd65b09392b7abbb62d Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 5 Feb 2026 11:12:44 -0700 Subject: [PATCH] Channel saving logic was inverted. --- app/src/hooks/customHooks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/hooks/customHooks.js b/app/src/hooks/customHooks.js index 0601c4d4..95048dc5 100644 --- a/app/src/hooks/customHooks.js +++ b/app/src/hooks/customHooks.js @@ -565,11 +565,11 @@ export const useChannel = (channel_id) => { }; if (channel_id) { + return await updateChannel(channel_id, body); + } else { // Can create a Channel with a Tag. body.tag_name = form.formData.tag_name; return await createChannel(body); - } else { - return await updateChannel(channel_id, body); } }