Change copilot and background panels to distinguish from playground (#204)

This commit is contained in:
Akhilesh Sudhakar 2025-08-15 15:07:39 +08:00 committed by GitHub
parent 9304c1e5fd
commit 8488255d6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 327 additions and 301 deletions

View file

@ -47,7 +47,6 @@ export const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(({
}
}, [propValue, isEditing]);
/*
useEffect(() => {
if (!autoResize) return;
@ -69,7 +68,6 @@ export const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(({
window.addEventListener('resize', adjustHeight);
return () => window.removeEventListener('resize', adjustHeight);
}, [localValue, autoResize, maxHeight, textareaRef]);
*/
const validateAndUpdate = (value: string) => {
if (validate) {