From d99419ad61ba754a308ea0565e36a10bcf49ead5 Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Wed, 23 Jul 2025 11:58:50 +0530 Subject: [PATCH] hide chat instead of unmount (#181) --- apps/rowboat/app/projects/[projectId]/playground/app.tsx | 5 +---- apps/rowboat/components/ui/textarea.tsx | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/rowboat/app/projects/[projectId]/playground/app.tsx b/apps/rowboat/app/projects/[projectId]/playground/app.tsx index 5ab76f37..dfa5864e 100644 --- a/apps/rowboat/app/projects/[projectId]/playground/app.tsx +++ b/apps/rowboat/app/projects/[projectId]/playground/app.tsx @@ -82,13 +82,10 @@ export function App({ } }, []); - if (hidden) { - return <>; - } - return ( <> (({ } }, [propValue, isEditing]); + /* useEffect(() => { if (!autoResize) return; @@ -68,6 +69,7 @@ export const Textarea = forwardRef(({ window.addEventListener('resize', adjustHeight); return () => window.removeEventListener('resize', adjustHeight); }, [localValue, autoResize, maxHeight, textareaRef]); + */ const validateAndUpdate = (value: string) => { if (validate) {