From 746a418fcbfd513906050946e6caa635e64bf2f7 Mon Sep 17 00:00:00 2001 From: nsbradford Date: Wed, 24 Jan 2024 19:07:35 -0800 Subject: [PATCH] more --- src/components/CreateFormInner.tsx | 3 ++- src/components/InnerChat.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/CreateFormInner.tsx b/src/components/CreateFormInner.tsx index 20497b9..7f99fac 100644 --- a/src/components/CreateFormInner.tsx +++ b/src/components/CreateFormInner.tsx @@ -1,3 +1,4 @@ +import { InnerChat } from '@/components/InnerChat'; import { Form } from '@/models'; import { getFormFromSupabase } from '@/utils'; import { createClientComponentClient } from '@supabase/auth-helpers-nextjs'; @@ -23,7 +24,7 @@ export function CreateFormInner(props: { formId: string; }) { } }); } - }, []); // The empty array ensures this effect runs only once on mount + }, []); return form ? ( ) : ( diff --git a/src/components/InnerChat.tsx b/src/components/InnerChat.tsx index 850ca65..875923e 100644 --- a/src/components/InnerChat.tsx +++ b/src/components/InnerChat.tsx @@ -129,7 +129,7 @@ export function InnerChat(props: { form: Form; supabase: SupabaseClient