From dd17e5ba7cf149a3fad2330efb048afbdcea07b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Rame=CC=81?= Date: Tue, 20 Feb 2024 11:03:23 +0100 Subject: [PATCH] aaa --- .prettierignore | 2 ++ src/app/(public)/assistant/RequestAssistantForm.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 4f0cb2b..4a4a758 100644 --- a/.prettierignore +++ b/.prettierignore @@ -8,6 +8,8 @@ /data/ /dist/ /public/mockServiceWorker.js +/src/server/trpc-next-layout/**/*.ts +/src/server/trpc-next-layout/**/*.tsx /src/**/*.docx /src/**/*.transformed.html **/.dockerignore diff --git a/src/app/(public)/assistant/RequestAssistantForm.tsx b/src/app/(public)/assistant/RequestAssistantForm.tsx index a41a1fe..27c8edc 100644 --- a/src/app/(public)/assistant/RequestAssistantForm.tsx +++ b/src/app/(public)/assistant/RequestAssistantForm.tsx @@ -56,7 +56,7 @@ export function RequestAssistantForm(props: RequestAssistantFormProps) { if (props.prefill?.sessionId) { setValue('sessionId', props.prefill.sessionId); } - }, [props.prefill?.sessionId]); + }, [props.prefill?.sessionId, setValue]); const onSubmit = async (input: RequestAssistantSchemaType) => { // If it's already running, quit